Skip to content

Commit

Permalink
feat(website): enable smooth scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Nov 13, 2024
1 parent 4af5976 commit cf6fced
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
@tailwind components;
@tailwind utilities;

html {
@apply scroll-smooth;
}

.cursor {
@apply border border-primary-500;
animation: blink-caret 0.75s step-end infinite;
Expand Down Expand Up @@ -37,4 +41,4 @@ html.dark .shiki span {
font-style: var(--shiki-dark-font-style) !important;
font-weight: var(--shiki-dark-font-weight) !important;
text-decoration: var(--shiki-dark-text-decoration) !important;
}
}

0 comments on commit cf6fced

Please sign in to comment.