Browse Source

Don't pad request covers

spaghetti 8 years ago
parent
commit
10c548abc5
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      sections/requests/request.php

+ 2
- 4
sections/requests/request.php View File

@@ -124,15 +124,13 @@ $encoded_artist = urlencode($encoded_artist);
124 124
     <div class="box box_image box_image_albumart box_albumart"><!-- .box_albumart deprecated -->
125 125
       <div class="head"><strong>Cover</strong></div>
126 126
       <div id="covers">
127
-        <div class="pad">
128 127
 <?
129 128
     if (!empty($Request['Image'])) {
130 129
 ?>
131
-          <p align="center"><img style="width: 100%;" src="<?=ImageTools::process($Request['Image'], true)?>" alt="<?=$FullName?>" class="lightbox-init" /></p>
130
+          <img style="width: 100%;" src="<?=ImageTools::process($Request['Image'], true)?>" alt="<?=$FullName?>" class="lightbox-init" />
132 131
 <?    } else { ?>
133
-          <p align="center"><img style="width: 100%;" src="<?=STATIC_SERVER?>common/noartwork/<?=$CategoryIcons[$Request['CategoryID'] - 1]?>" alt="<?=$CategoryName?>" class="tooltip" title="<?=$CategoryName?>" height="220" border="0" /></p>
132
+          <img style="width: 100%;" src="<?=STATIC_SERVER?>common/noartwork/<?=$CategoryIcons[$Request['CategoryID'] - 1]?>" alt="<?=$CategoryName?>" class="tooltip" title="<?=$CategoryName?>" height="220" border="0" />
134 133
 <?    } ?>
135
-        </div>
136 134
       </div>
137 135
     </div>
138 136
 <?

Loading…
Cancel
Save