Skip to content

Commit

Permalink
fix scroll top in nav (#3894)
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai authored Dec 18, 2024
1 parent e953d98 commit 2fb9d70
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 2fb9d70

Please sign in to comment.