From 12de2376ac97f69c9eeccf6a414aae11e206c062 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Thu, 5 May 2011 08:16:09 +0200 Subject: [PATCH] Lobo grid: use auto height + padding for correct formatting also with larger image heights --- browser/lobo/standard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/browser/lobo/standard.py b/browser/lobo/standard.py index 4c26f90..6044ca7 100644 --- a/browser/lobo/standard.py +++ b/browser/lobo/standard.py @@ -101,7 +101,7 @@ class ConceptView(BaseConceptView): @Lazy def style(self): - return 'height: %ipx' % self.parentView.height + return 'height: %s' % self.parentView.height @Lazy def img(self): @@ -165,7 +165,8 @@ class Grid3(BasePart): macroName = 'grid' imageSize = 'small' - height = 260 + #height = '260px' + height = 'auto; padding-bottom: 10px' gridPattern = ['span-2', 'span-2', 'span-2 last']