Add HTML element "scroll-padding-top"
This fixes the issue of the navigation bar overlapping anchors on small displays.
This commit is contained in:
parent
462c21ff2f
commit
7b98e7a6a9
6
main.css
6
main.css
@ -3,7 +3,7 @@
|
||||
/* Copyright 2022 Jake Winters */
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* Version: 11.1.0-alpha.6 */
|
||||
/* Version: 11.1.0-alpha.7 */
|
||||
|
||||
|
||||
/* Body */
|
||||
@ -247,6 +247,10 @@ strong {
|
||||
/* Media */
|
||||
@media (max-width: 600px) {
|
||||
|
||||
html {
|
||||
scroll-padding-top: 75px;
|
||||
}
|
||||
|
||||
body {
|
||||
padding-top: 80px;
|
||||
margin: 15px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user