Difference between revisions of "Template:ImageGallery"

From Bearscape Wiki
Jump to: navigation, search
m (Still not working perfectly (doesn't vertically center), but fixing a few other problems related to the horizontal margin.)
m (Removing the outer element widths as it causes a few issues.)
Line 18: Line 18:
 
     #ifexpr: {{#var: number}} mod 2
 
     #ifexpr: {{#var: number}} mod 2
 
     | <nowiki />
 
     | <nowiki />
<li class="gallerybox" style="width: 155px">
+
<li class="gallerybox">
<div style="width: 155px">
+
<div>
 
<div class="thumb" style="width: 155px; height: 155px">
 
<div class="thumb" style="width: 155px; height: 155px">
 
<p style="max-width: none; max-height: none; height: 150px; margin: 2.5px">
 
<p style="max-width: none; max-height: none; height: 150px; margin: 2.5px">

Revision as of 21:04, 4 June 2015