min-height/size are just set to auto if widget size is specified
This commit is contained in:
parent
d840e4abc0
commit
61794e0757
3 changed files with 7 additions and 3 deletions
|
|
@ -112,8 +112,8 @@ module.exports.widgets = function(data,parent) {
|
|||
top = parseFloat(widgetData.top)==widgetData.top?parseFloat(widgetData.top)+'rem' : widgetData.top
|
||||
|
||||
|
||||
var styleW = widgetData.width&&widgetData.width!='auto'?`width:${width};amin-width:${width};`:'',
|
||||
styleH = widgetData.height&&widgetData.height!='auto'?`height:${height};amin-height:${height};`:'',
|
||||
var styleW = widgetData.width&&widgetData.width!='auto'?`width:${width};min-width:auto;`:'',
|
||||
styleH = widgetData.height&&widgetData.height!='auto'?`height:${height};min-height:auto;`:'',
|
||||
styleL = widgetData.left&&widgetData.left!='auto'||widgetData.left==0?`left:${left};`:'',
|
||||
styleT = widgetData.top&&widgetData.top!='auto'||widgetData.top==0?`top:${top};`:''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue