Removed scroll to top on mobile devices (#1852)

Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
John Rafael
2021-03-18 00:16:57 +08:00
committed by GitHub
parent 1321033c64
commit 6ffc4a9853

View File

@@ -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;