fixed slow scrolling bug with ScrollAnywhere

pull/2630/head
REJack 5 years ago
parent 282ff7f6ce
commit d67c3a0812

@ -2,7 +2,7 @@
// Core: Layout
//
html {
html.scroll-smooth {
scroll-behavior: smooth;
}

@ -10096,7 +10096,7 @@ a.text-dark:hover, a.text-dark:focus {
}
}
html {
html.scroll-smooth {
scroll-behavior: smooth;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -41,7 +41,9 @@ You can also use the following classes for responsive changes with placing
- use the class `.layout-*-footer-not-fixed` to get a not fixed footer.
> ##### Tip!
> If you want to use anchors with a fixed navbar, you need to add `.anchor` to you hidden anchor, e.g. `<a id="testAnchor" class="anchor"></a>`.
> If you want to use anchors with a fixed navbar, you need to add `.anchor` to you hidden anchor, e.g. `<a id="testAnchor" class="anchor"></a>`.
>
> To get a smooth scrolling to the anchor you need to add `.scroll-smooth` to your HTML tag like this `<html class="scroll-smooth">` otherwise it jumps directly to your anchor, `.scroll-smooth` can cause issues with a Chrome extension called ScrollAnywhere.
{: .quote-info}

Loading…
Cancel
Save