mdgriffith / elm-ui

What if you never had to write CSS again?
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
BSD 3-Clause "New" or "Revised" License
1.35k stars 112 forks source link

El in column doesn't shrink wrap child when min height set (1.1.8 regression) #262

Open shaydon opened 3 years ago

shaydon commented 3 years ago

SSCCE

If an element within a column has height shrink along with a minimum height, it will always take the minimum height regardless of the greater height of any child element.

Appears to be related to commit 42d0dae608c03a9bc340cf5194555ba2403869ee which marks the min-height in pixels !important in the css.

See also issue #260, another apparent regression seemingly caused by the same commit.

Expected behavior As in 1.1.7 - the element within the column should expand to encompass the height of its child if this is greater than its own minimum height.

Versions