Skip to content

Commit

Permalink
Skip the top menu when scrolling on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
chatziko authored and zjedi committed Jul 10, 2024
1 parent 8bc7135 commit a20a2ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/css/responsiveness.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
line-height: 1.6em;
}

/* skip the top menu when scrolling */
.post-holder .post {
scroll-margin-top: 48px;
}

.post-template .post {
padding-bottom: 1rem;
}
Expand Down

0 comments on commit a20a2ff

Please sign in to comment.