Skip to content

Commit

Permalink
fix scroll top in nav
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Dec 17, 2024
1 parent aaa2cd2 commit 47a49ab
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,17 @@ div[class^="announcementBarContent"] {
cursor: pointer;
}

.markdown {
& > h1,
& > h2,
& > h3,
& > h4,
& > h5,
& > h6 {
scroll-margin-top: 10rem;
}
}

.gradient-text {
background-image: linear-gradient(108.55deg, #3b00b9 0%, #18d0b5 149.76%);
}
Expand Down Expand Up @@ -774,4 +785,4 @@ div[class^="announcementBarContent"] {

@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

0 comments on commit 47a49ab

Please sign in to comment.