Skip to content

Commit

Permalink
feat: header on all pages are now sticky to the top (fixes #19), so i…
Browse files Browse the repository at this point in the history
…t is always showing even if you scroll down

for the policy pages, this allows the user to always be able to navigate back home if they'd like, as the anchors do not open the policy pages in a new tab
  • Loading branch information
henrylin03 committed Sep 4, 2024
1 parent e9338e7 commit 590b668
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ header {
background-color: white;
display: flex;
align-items: center;

/* stick to top */
position: sticky;
top: 0;
z-index: 999;
}

.branding {
Expand Down

0 comments on commit 590b668

Please sign in to comment.