aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-04 20:48:26 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-04 20:48:26 +0000
commit6869125504cd6f918ba1fa17725a1f3e215ecbd1 (patch)
treeade710f25b85694017bf06801c81912ca2cb9423 /themes
parent5f63a01ad4a189572a061e1a9b5d5aca78bbfc69 (diff)
thumbnails.tpl is smarty "stripped" to reduce payload-> increased margins of thumbnails in css
git-svn-id: http://piwigo.org/svn/trunk@8469 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/thumbnails.tpl5
-rw-r--r--themes/default/theme.css2
2 files changed, 3 insertions, 4 deletions
diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl
index fab6f23c3..60638ccf0 100644
--- a/themes/default/template/thumbnails.tpl
+++ b/themes/default/template/thumbnails.tpl
@@ -1,6 +1,5 @@
-
{if !empty($thumbnails)}
-{foreach from=$thumbnails item=thumbnail}
+{strip}{foreach from=$thumbnails item=thumbnail}
<li>
<span class="wrap1">
<span class="wrap2">
@@ -29,5 +28,5 @@
</span>
</span>
</li>
-{/foreach}
+{/foreach}{/strip}
{/if}
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 2de359b4f..e25716bfb 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -282,7 +282,7 @@ TD.calDayHead {
.thumbnails LI { display: inline }
.thumbnails .wrap1 {
- margin: 0 5px 5px 5px;
+ margin: 0 7px 5px 7px;
display: table-cell; display: inline-table;
display: inline-block;/* Why 3 display option ??? */
vertical-align: top; /* OK with Opera and IE6 not Geko */