fixed slow scrolling bug with ScrollAnywhere
This commit is contained in:
parent
282ff7f6ce
commit
d67c3a0812
|
@ -2,7 +2,7 @@
|
|||
// Core: Layout
|
||||
//
|
||||
|
||||
html {
|
||||
html.scroll-smooth {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
|
|
2
dist/css/adminlte.css
vendored
2
dist/css/adminlte.css
vendored
|
@ -10096,7 +10096,7 @@ a.text-dark:hover, a.text-dark:focus {
|
|||
}
|
||||
}
|
||||
|
||||
html {
|
||||
html.scroll-smooth {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
|
|
2
dist/css/adminlte.css.map
vendored
2
dist/css/adminlte.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/adminlte.min.css
vendored
2
dist/css/adminlte.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/adminlte.min.css.map
vendored
2
dist/css/adminlte.min.css.map
vendored
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…
Reference in a new issue