resolves #190, resolves ##147 - While rows have flex-basis 0% which allows for the children of a row to default to their content size, this is apparently a different story for columns.

Safari has an issue if this is flex-basis: 0%, as it goes entirely to 0, instead of the expected content size.
This commit is contained in:
Elm UI Automation 2020-05-16 14:31:42 -04:00
parent db8ff2b7e5
commit 22deccc290

View File

@ -1361,13 +1361,12 @@ baseSheet =
[ Prop "display" "flex"
, Prop "flex-direction" "column"
, Child (dot classes.any)
[ Prop "flex-basis" "0%"
, Descriptor (dot classes.heightExact)
[ Prop "flex-basis" "auto"
]
, Descriptor (dot classes.column)
[ Prop "flex-basis" "auto"
]
-- *Note* - While rows have flex-basis 0%,
-- which allows for the children of a row to default to their content size
-- This apparently is a different story for columns.
-- Safari has an issue if this is flex-basis: 0%, as it goes entirely to 0,
-- instead of the expected content size.
[ Prop "flex-basis" "auto"
]
, Child (dot classes.heightFill)
[ Prop "flex-grow" "100000"