mdgriffith / style-elements

Create styles that don't mysteriously break!
http://package.elm-lang.org/packages/mdgriffith/style-elements/latest
BSD 3-Clause "New" or "Revised" License
445 stars 49 forks source link

Unexpected page overflow #76

Open mdgriffith opened 7 years ago

mdgriffith commented 7 years ago

What I did

Added a fill height to a column

What I Expected To Happen

It to fill the available height.

What Actually Happened

https://ellie-app.com/474xXfRbHLja1/2

The second element will overflow the page and create a scrollbar.

If I comment out the center on the high level column on dummyPage, then things work as expected.

Versions

thorebear commented 7 years ago

I ran into a similar issue. It only happens in Chrome when the "html" does not include the DOCTYPE. See here

stoeffel commented 6 years ago

Confirming that @thorebear's fix works ❤️