diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2010-03-20 14:55:41 -0600 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2010-03-20 14:55:41 -0600 |
| commit | e8eb23db42bb929548af358452f1b65e16b61913 (patch) | |
| tree | 0ffdd7caf8b9b3ec8450e1b1a95f73ededa36842 /themes/wind/views | |
| parent | 0e9c626684fff0973a8512d5bd50ab7ba3a748ff (diff) | |
Increase specificity for .g-item width to ensure it overrides the wind theme's default width when thumbnails are something other than the default. Fixes ticket #1053.
Diffstat (limited to 'themes/wind/views')
| -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 ?> */ |
