Lobo grid: use auto height + padding for correct formatting also with larger image heights

This commit is contained in:
Helmut Merz 2011-05-05 08:16:09 +02:00
parent 0271630d4d
commit 12de2376ac

View file

@ -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']