fix: Smooth scrolling
Smooth scrolling wasn't working due to the `scroll-behavior` being under body, not html. This commit moves it to html and makes it in Tailwind CSS format.
This commit is contained in:
@@ -85,12 +85,13 @@
|
||||
}
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
@apply scroll-smooth;
|
||||
}
|
||||
* {
|
||||
@apply border-border;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user