mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Smooth scrolling
Navigating anchors now scrolls smoothly to the anchors, this helps usability by having visual feedback of where the previous location was
This commit is contained in:
parent
708be51743
commit
9f295e2ebf
@ -20,4 +20,8 @@ h1[id]:before, h2[id]:before {
|
|||||||
margin-top: -75px;
|
margin-top: -75px;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user