Make widget children inherits the min-height
This ensure that the children widget will expand vertically. issue10899 review385281002
This commit is contained in:
1 parent
2100441353
commit
665dc6a402
1 file changed
+3
@@ -75,6 +75,9 @@ function eval_pyson(value){
|
||||
|
||||
if (attributes.height !== undefined) {
|
||||
widget.el.css('min-height', attributes.height + 'px');
|
||||
if (widget.el.children().length == 1) {
|
||||
widget.el.children().css('min-height', 'inherit');
|
||||
}
|
||||
}
|
||||
if (attributes.width !== undefined) {
|
||||
widget.el.css('min-width', attributes.width + 'px');
|
||||
|
||||
Reference in new issue
Block a user