Commit a377841
committed
css: stick the Socket footer to the viewport bottom on short pages
Index page has a short body — the footer rendered mid-page with a lot
of whitespace beneath it. Make body a flex column with min-height: 100vh
so the footer can margin-top: auto itself down to the viewport bottom.
Long pages scroll as before; the min-height only kicks in when
content is shorter than the viewport.1 parent e2119d9 commit a377841
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1203 | 1212 | | |
1204 | 1213 | | |
1205 | | - | |
| 1214 | + | |
1206 | 1215 | | |
1207 | 1216 | | |
1208 | 1217 | | |
| |||
0 commit comments