mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:25:52 +00:00
feat: use the default style for the scrollbar in mobile
This commit is contained in:
parent
4eb35a3ad9
commit
e6e424c8a2
@ -1,3 +1,5 @@
|
||||
// the custom style for desktop
|
||||
@media (min-width: 768px) {
|
||||
/* width */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
@ -33,3 +35,12 @@
|
||||
.rc-virtual-list-scrollbar-thumb:active {
|
||||
background: var(--colorBgScrollBarActive) !important;
|
||||
}
|
||||
}
|
||||
|
||||
// the custom style for mobile
|
||||
@media (max-width: 767px) {
|
||||
// ensure smooth scrolling on iOS devices
|
||||
.smooth-scroll {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user