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 ?
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