mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-29 15:24:07 +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
|
in
|
||||||
gatherAttrRecursive (classes ++ " " ++ newClass)
|
gatherAttrRecursive (classes ++ " " ++ newClass)
|
||||||
node
|
node
|
||||||
(Flag.merge addToFlags has)
|
(Flag.merge addToFlags (Flag.add Flag.width has))
|
||||||
transform
|
transform
|
||||||
(newStyles ++ styles)
|
(newStyles ++ styles)
|
||||||
attrs
|
attrs
|
||||||
@ -1112,7 +1112,7 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
|
|||||||
in
|
in
|
||||||
gatherAttrRecursive (classes ++ " " ++ newClass)
|
gatherAttrRecursive (classes ++ " " ++ newClass)
|
||||||
node
|
node
|
||||||
(Flag.merge addToFlags has)
|
(Flag.merge addToFlags (Flag.add Flag.height has))
|
||||||
transform
|
transform
|
||||||
(newStyles ++ styles)
|
(newStyles ++ styles)
|
||||||
attrs
|
attrs
|
||||||
|
Loading…
Reference in New Issue
Block a user