diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-03-28 21:04:44 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-03-28 21:04:44 -0700 |
| commit | ea43c5f06f5c7242f1d5811fe427e55c87497ecc (patch) | |
| tree | 7ee253a40c57c8ea8066305e36b633fa2d7500e4 /themes/wind/views/page.html.php | |
| parent | 2eea7b874aa06f08ed58a85197473233b54693aa (diff) | |
| parent | e8eb23db42bb929548af358452f1b65e16b61913 (diff) | |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views/page.html.php')
| -rw-r--r-- | themes/wind/views/page.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 61e34145..ebfbf700 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -35,10 +35,10 @@ <![endif]--> <? if ($theme->page_type == "collection"): ?> <? if ($thumb_proportion != 1): ?> - <? $new_width = $thumb_proportion * 213 ?> - <? $new_height = $thumb_proportion * 240 ?> + <? $new_width = round($thumb_proportion * 213) ?> + <? $new_height = round($thumb_proportion * 240) ?> <style type="text/css"> - #g-content #g-album-grid .g-item { + .g-view #g-content #g-album-grid .g-item { width: <?= $new_width ?>px; height: <?= $new_height ?>px; /* <?= $thumb_proportion ?> */ |
