diff options
author | Mario <mario@mariovavti.com> | 2021-08-04 14:46:46 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-04 14:46:46 +0000 |
commit | 101fc33c635186ad1ce464adb7fe12c6817effb6 (patch) | |
tree | 85d360af03e68fb8f75000723deb2e55f05b540c | |
parent | bd2270deb685c09808ce1f53653e4f3b73086645 (diff) | |
download | volse-hubzilla-101fc33c635186ad1ce464adb7fe12c6817effb6.tar.gz volse-hubzilla-101fc33c635186ad1ce464adb7fe12c6817effb6.tar.bz2 volse-hubzilla-101fc33c635186ad1ce464adb7fe12c6817effb6.zip |
bs5 sets scroll-behavior to smooth which does weird things especially on mobile devices - unset it
-rw-r--r-- | view/css/bootstrap-red.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 36240517e..0e4b0e8e6 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -1,5 +1,12 @@ /* override some bootstrap settings */ +/* scroll-behavior smooth is behaving weird on mobile devices. */ +@media (prefers-reduced-motion: no-preference) { + :root { + scroll-behavior: unset; + } +} + /* nav overrides */ nav .badge { @@ -53,6 +60,7 @@ nav .dropdown-menu { color: rgba(255,255,255,1); } +/* offcanvas */ .offcanvas, .modal-backdrop.fade { transition: none; |