fix(style): dont custom scrollbar on touch screens

This commit is contained in:
ppoffice 2020-08-29 19:28:14 -04:00
parent fbeb3c43b8
commit eea490e133
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
1 changed files with 14 additions and 17 deletions

View File

@ -77,23 +77,20 @@ body
body > .section
flex-grow: 1
// Modify the style of the scroll bar only for -webkit browsers
::-webkit-scrollbar
width: 8px
height: 8px
+desktop()
::-webkit-scrollbar
width: 8px
height: 8px
// Modify the style of the scroll bar only for -webkit browsers
::-webkit-scrollbar-track
border-radius: 3px
background: rgba(0,0,0,0.06)
box-shadow: inset 0 0 5px rgba(0,0,0,0.1)
::-webkit-scrollbar-track
border-radius: 3px
background: rgba(0,0,0,0.06)
box-shadow: inset 0 0 5px rgba(0,0,0,0.1)
// Modify the style of the scroll bar only for -webkit browsers
::-webkit-scrollbar-thumb
border-radius: 3px
background: rgba(0,0,0,0.12)
box-shadow: inset 0 0 10px rgba(0,0,0,0.2)
::-webkit-scrollbar-thumb
border-radius: 3px
background: rgba(0,0,0,0.12)
box-shadow: inset 0 0 10px rgba(0,0,0,0.2)
// Modify the style of the scroll bar only for -webkit browsers
::-webkit-scrollbar-thumb:hover
background: rgba(0,0,0,0.24)
::-webkit-scrollbar-thumb:hover
background: rgba(0,0,0,0.24)