Skip to content

Commit ec4132e

Browse files
author
Nikos Katsikanis
committed
make body take full height of viewport by setting flex grow =1
1 parent 97c8002 commit ec4132e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
<script src="./js/store.js" defer type="module"></script>
2323
<script src="./js/componentLoader.js" defer type="module"></script>
2424
</head>
25-
<body class="flex flex-col">
26-
<div class="flex">
27-
<!--
25+
26+
<body class="flex flex-col" >
27+
<!-- wrapper that takes remaining space -->
28+
<div class="flex" style="flex: 1 1 auto">
29+
<!--
2830
<nav data-component="nav"></nav>
2931
-->
3032
<nav data-component="nav" data-header-bar="true" data-burger-px="600"></nav>

0 commit comments

Comments
 (0)