Commit ab72411
committed
fix: make footer sticky at viewport bottom while scrolling (#56)
- Add position:fixed to .footer so it stays visible at the bottom
- Add padding-bottom to body to prevent content hiding behind footer
- Reposition back-to-top button above the fixed footer (desktop & mobile)1 parent 4299026 commit ab72411
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
877 | 878 | | |
878 | 879 | | |
879 | 880 | | |
880 | | - | |
| 881 | + | |
881 | 882 | | |
882 | 883 | | |
883 | | - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
884 | 889 | | |
885 | 890 | | |
886 | 891 | | |
| |||
897 | 902 | | |
898 | 903 | | |
899 | 904 | | |
900 | | - | |
| 905 | + | |
901 | 906 | | |
902 | 907 | | |
903 | 908 | | |
| |||
995 | 1000 | | |
996 | 1001 | | |
997 | 1002 | | |
998 | | - | |
| 1003 | + | |
999 | 1004 | | |
1000 | 1005 | | |
1001 | 1006 | | |
| |||
1151 | 1156 | | |
1152 | 1157 | | |
1153 | 1158 | | |
1154 | | - | |
| 1159 | + | |
0 commit comments