You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is very strange, is that the behaviour disappears when I remove the header element and keep only the inside row. As you can see here: https://ellie-app.com/bnCJSq5zMa1/3, the header (which is now only a row) text has spread horizontally, but not vertically anymore. Which is what was expected.
It seems like that the header element adds a 100% height attribute to its child (by inspecting with dev tools), which is weird ?
Versions
Elm: 0.18
style-elements: 4.3.0
Browser: Version 64.0.3282.119
Operating System: Windows 10
The text was updated successfully, but these errors were encountered:
The big picture of what I'm trying to do
I am trying to create a
header
,mainContent
, andfooter
, and in myheader
andfooter
, a row which contains links spread horizontally.What I did
The full example is in Ellie https://ellie-app.com/bnCJSq5zMa1/2, and here is an excerpt:
What I Expected To Happen
I expected to have a small header, a small footer, and a tall main Content (because under the scene it has the height fill attribute)
What Actually Happened
The header and footer take each 100% of the screen height, and the main Content is small.
See : https://ellie-app.com/bnCJSq5zMa1/2
What is very strange, is that the behaviour disappears when I remove the
header
element and keep only the insiderow
. As you can see here: https://ellie-app.com/bnCJSq5zMa1/3, the header (which is now only a row) text has spread horizontally, but not vertically anymore. Which is what was expected.It seems like that the
header
element adds a 100% height attribute to its child (by inspecting with dev tools), which is weird ?Versions
The text was updated successfully, but these errors were encountered: