Skip to content
Snippets Groups Projects
Commit dc0e97c1 authored by Dorian Merz's avatar Dorian Merz Committed by Robert Lange
Browse files

refs #17577 [fid_bbi] styling of usertags table

* add more whitespace for readability
* add some responsiveness
parent 6d0e6d07
No related merge requests found
...@@ -651,7 +651,16 @@ table.tags { ...@@ -651,7 +651,16 @@ table.tags {
border-bottom: 1px solid $charcoal; border-bottom: 1px solid $charcoal;
th, td { th, td {
padding: .3em; padding: .3em 1em .3em 1em;
width: 33%;
min-width: 40px;
@media screen and (max-width: $screen-xs-max) {
// hide overlong captions
.hidden-xs {
visibility: hidden;
}
border-top: 1px dashed $gray-lighter;
}
} }
th { th {
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<?=$this->render('RecordDriver/DefaultRecord/offcanvas-toggler-myresearch'); ?> <?=$this->render('RecordDriver/DefaultRecord/offcanvas-toggler-myresearch'); ?>
<h2><?=$this->translate('Your Tags')?></h2> <h2><?=$this->translate('Your Tags')?></h2>
<?php if (!empty($tags)): ?> <?php if (!empty($tags)): ?>
<table class="tags"> <table class="tags table-responsive">
<tr> <tr>
<th><?=$this->translate('Tag')?></th> <th><?=$this->translate('Tag')?></th>
<th><?=$this->translate('tags_record_count')?></th> <th>#<span class="hidden-xs"> <?=$this->translate('tags_record_count')?></span></th>
<th><?=$this->translate('tags_records_on_lists')?></th> <th><?=$this->translate('tags_records_on_lists')?></th>
</tr> </tr>
<?php foreach ($tags as $tag): ?> <?php foreach ($tags as $tag): ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment