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.34k stars 110 forks source link

Below attribute adds a z-index of 20 and thus jumps in front of everything #349

Open Archill-56 opened 1 year ago

Archill-56 commented 1 year ago

Hi mdgriffith,

I am trying to build a modal that darkens everything behind it. Unfortunately my solution is not darkening a below attribute that I am using for an underline. The below attribute adds a z-index of 20, while the modal doesn’t have an explicit z-index.

Here's a Ellie https://ellie-app.com/kBCDzS4Jytba1 to let you see what I mea!

Expected behavior The underline should be darkened under the modal like the texts are.

Versions