aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/css/bootstrap-red.css8
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;