Skip to content

Commit ffd24fe

Browse files
committed
global fix for scroll-padding-top to ensure nothing lands behind the navbar
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
1 parent 5f17cf4 commit ffd24fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/assets/stylesheets/base/root.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ body {
55
transition: background-color var(--transition-normal), color var(--transition-normal);
66
}
77

8+
html {
9+
scroll-padding-top: calc(var(--nav-height) + var(--spacing-4));
10+
}
11+
812
.container {
913
max-width: none;
1014
width: 100%;

0 commit comments

Comments
 (0)