Skip to content

Commit

Permalink
Fix: Skip Nav - Remove skip nav page jank (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda authored Aug 15, 2023
2 parents f806add + 3711239 commit cf013de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benefits/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
/* prettier-ignore */
}

html {
scroll-padding-top: 101px; /* Header Height (80px) + Skip Nav Height (21px) = 101px */
}

body {
font-size: 100%;
color: var(--text-primary-color);
Expand Down

0 comments on commit cf013de

Please sign in to comment.