style: smooth scrolling
This commit is contained in:
parent
bb0908067b
commit
3c3c8fa2a4
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ const { title, description } = Astro.props
|
||||||
<Nav links={links} />
|
<Nav links={links} />
|
||||||
<slot />
|
<slot />
|
||||||
<style>
|
<style>
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
html,
|
html,
|
||||||
body,
|
body,
|
||||||
* {
|
* {
|
||||||
|
|
Loading…
Reference in a new issue