From 64d6a672df6d9eb8b72879fb628de1a4fbdb19a8 Mon Sep 17 00:00:00 2001 From: rafael Date: Wed, 17 Mar 2021 09:26:39 +0800 Subject: [PATCH] Removed scroll to top on mobile devices --- examples/demo.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/demo.css b/examples/demo.css index 6f2fcf2f3c..1d1d6ed2e1 100644 --- a/examples/demo.css +++ b/examples/demo.css @@ -172,8 +172,8 @@ body > .container-fluid { #move-up { position: fixed; - bottom: 50px; - right: 40px; + bottom: 30px; + right: 20px; z-index: 550; display: none; background:transparent; @@ -181,11 +181,17 @@ body > .container-fluid { } #move-up i { - font-size:60px; + font-size:50px; opacity:0.7; color:#BABABA; } +@media (max-width: 768px), (max-height 700px) { + #move-up { + display: none !important; /* !important is used to override the jQuery style */ + } +} + .btn-circle{ min-width: 80px; min-height: 80px;