Skip to content

Commit

Permalink
fix: anchor scroll behind navbar
Browse files Browse the repository at this point in the history
Signed-off-by: abizek <[email protected]>
  • Loading branch information
abizek committed Apr 8, 2024
1 parent fd36223 commit 1b45ec8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions styles/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ main {
h4,
h5,
h6 {
&[id] a {
@apply text-neutral-900
&[id] {
@apply scroll-mt-[5.5rem];

a {
@apply text-neutral-900
dark:text-white;
}
}
}

Expand Down

0 comments on commit 1b45ec8

Please sign in to comment.