Commit 9d0c584
committed
Sticky footer: flex-column layout so short pages don't leave a blank band
Replace main's min-height:60vh + footer's 96px top margin (which floated
the footer in whitespace on short/filtered pages) with a flex-column body
and a growing main, so the footer sits at the viewport bottom when content
is short and flows naturally when it's long.1 parent c099e76 commit 9d0c584
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
| 113 | + | |
112 | 114 | | |
113 | | - | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
0 commit comments