mirror of
https://github.com/typeable/elm-ui.git
synced 2024-11-27 14:35:05 +03:00
resolves #77, resolves #42 widths and heights with bounds on them should now prevent other widths/heights from being set.
This commit is contained in:
parent
ada7de456e
commit
b95ab17bcd
@ -1034,7 +1034,7 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
|
||||
in
|
||||
gatherAttrRecursive (classes ++ " " ++ newClass)
|
||||
node
|
||||
(Flag.merge addToFlags has)
|
||||
(Flag.merge addToFlags (Flag.add Flag.width has))
|
||||
transform
|
||||
(newStyles ++ styles)
|
||||
attrs
|
||||
@ -1112,7 +1112,7 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
|
||||
in
|
||||
gatherAttrRecursive (classes ++ " " ++ newClass)
|
||||
node
|
||||
(Flag.merge addToFlags has)
|
||||
(Flag.merge addToFlags (Flag.add Flag.height has))
|
||||
transform
|
||||
(newStyles ++ styles)
|
||||
attrs
|
||||
|
Loading…
Reference in New Issue
Block a user