Lobo grid: use auto height + padding for correct formatting also with larger image heights
This commit is contained in:
parent
0271630d4d
commit
12de2376ac
1 changed files with 3 additions and 2 deletions
|
@ -101,7 +101,7 @@ class ConceptView(BaseConceptView):
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def style(self):
|
def style(self):
|
||||||
return 'height: %ipx' % self.parentView.height
|
return 'height: %s' % self.parentView.height
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def img(self):
|
def img(self):
|
||||||
|
@ -165,7 +165,8 @@ class Grid3(BasePart):
|
||||||
|
|
||||||
macroName = 'grid'
|
macroName = 'grid'
|
||||||
imageSize = 'small'
|
imageSize = 'small'
|
||||||
height = 260
|
#height = '260px'
|
||||||
|
height = 'auto; padding-bottom: 10px'
|
||||||
gridPattern = ['span-2', 'span-2', 'span-2 last']
|
gridPattern = ['span-2', 'span-2', 'span-2 last']
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue