diff --git a/themes/fid_bbi/scss/compiled.scss b/themes/fid_bbi/scss/compiled.scss index 4c2ec479ba21856a0aaafd5b7496f9a26153b35b..a52d41f4c19900eadc84f4d5a5c029e4997b11b0 100644 --- a/themes/fid_bbi/scss/compiled.scss +++ b/themes/fid_bbi/scss/compiled.scss @@ -651,7 +651,16 @@ table.tags { border-bottom: 1px solid $charcoal; 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 { diff --git a/themes/fid_bbi/templates/myresearch/usertags.phtml b/themes/fid_bbi/templates/myresearch/usertags.phtml index 84414853dbd6dfd49e9c6ef2a613f9cd8520d559..34b1dec906f2576cceda2140a0ea8ff3db942426 100644 --- a/themes/fid_bbi/templates/myresearch/usertags.phtml +++ b/themes/fid_bbi/templates/myresearch/usertags.phtml @@ -4,10 +4,10 @@ <?=$this->render('RecordDriver/DefaultRecord/offcanvas-toggler-myresearch'); ?> <h2><?=$this->translate('Your Tags')?></h2> <?php if (!empty($tags)): ?> - <table class="tags"> + <table class="tags table-responsive"> <tr> <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> </tr> <?php foreach ($tags as $tag): ?>