Browse Source

Make geneviv stylesheet better at displaying collection tags

spaghetti 7 years ago
parent
commit
cc63db358b
2 changed files with 4 additions and 7 deletions
  1. 3
    3
      sections/collages/torrent_collage.php
  2. 1
    4
      static/styles/genaviv/style.css

+ 3
- 3
sections/collages/torrent_collage.php View File

@@ -243,7 +243,7 @@ foreach ($GroupIDs as $GroupID) {
243 243
 <?  if (!$WikiImage) {
244 244
       $WikiImage = STATIC_SERVER.'common/noartwork/nocover.png';
245 245
     } ?>
246
-            <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, true)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <?=$Tags?>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
246
+            <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, true)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <div class='tags'><?=$Tags?></div>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
247 247
           </a>
248 248
         </div>
249 249
 <?
@@ -410,8 +410,8 @@ foreach ($ZIPOptions as $Option) {
410 410
     </div>
411 411
     <div class="box box_tags">
412 412
       <div class="head"><strong>Top Tags</strong></div>
413
-      <div class="pad">
414
-        <ol style="padding-left: 5px;">
413
+      <div class="pad tags">
414
+        <ol style="padding-left: 5px">
415 415
 <?
416 416
         Tags::format_top(5, 'collages.php?action=search&amp;tags=');
417 417
 ?>

+ 1
- 4
static/styles/genaviv/style.css View File

@@ -918,11 +918,8 @@ a[rel="noreferrer"] img[style="max-width: 500px;"] {
918 918
 blockquote div[style="margin:20px; margin-top:5px"] {
919 919
   margin:5px 0 0!important;
920 920
 }
921
-table#collage_table td {
922
-  min-width:20%!important;display:table-cell;float:left
923
-}
924 921
 table#collage_table {
925
-  max-width:100%;display:table;position:relative;margin:0 auto;text-align:center;width:100%
922
+  max-width:100%;text-align:center;width:100%
926 923
 }
927 924
 table#collage_table img {
928 925
   min-width:100%

Loading…
Cancel
Save