Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed Aug 4, 2024
1 parent daa6888 commit fdc4092
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nightly/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ var dom = {
'marginbottom': 'apply',
'marginleft': 'apply',
'marginright': 'apply',
'minheight': 'apply',
'minwidth': 'apply',
'flexdirection': 'apply',
'height': 'apply',
'lineheight': 'apply',
Expand Down Expand Up @@ -275,6 +277,9 @@ var dom = {
case 'lineheight':
attr = 'lineHeight'
break
case 'minwidth':
attr = 'minWidth'
break
default:
// Extract the value and unit in the default case
var regex = /^(\d+)([a-z%]*)$/,
Expand All @@ -288,6 +293,7 @@ var dom = {
}
}

console.error(attr)
element.style[attr] = value + prefix
},

Expand Down

0 comments on commit fdc4092

Please sign in to comment.