Skip to content

Commit a007aa4

Browse files
committed
fix: scroll css
1 parent eb81394 commit a007aa4

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

src/css/scroll.css

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
1-
::-webkit-scrollbar {
1+
/* WebKit browsers (Chrome, Edge, Safari, Opera) */
2+
::-webkit-scrollbar {
23
width: 5px;
34
height: 5px;
4-
}
5-
::-webkit-scrollbar-thumb{
5+
}
6+
7+
::-webkit-scrollbar-thumb {
68
background: rgba(0, 0, 0, 0.09);
7-
}
8-
::-webkit-scrollbar-thumb:hover {
9-
background: #3790ff;
10-
opacity: .08;
11-
/*width: 10px;*/
12-
/*height: 10px;*/
13-
}
14-
::-webkit-scrollbar-track {
9+
}
10+
11+
::-webkit-scrollbar-thumb:hover {
12+
background: #3790ff;
13+
opacity: 0.08;
14+
}
15+
16+
::-webkit-scrollbar-track {
1517
background: rgba(0, 0, 0, 0.03);
1618
width: 5px;
17-
height:5px;
18-
}
19-
::-webkit-scrollbar-track:hover {
19+
height: 5px;
20+
}
21+
22+
::-webkit-scrollbar-track:hover {
2023
background: rgba(0, 0, 0, 0.06);
21-
/*width: 10px!important;*/
22-
/*height:10px!important;*/
23-
}
24-
/* ::-webkit-scrollbar:hover {
25-
width: 10px!important;
26-
height:10px!important;
27-
} */
24+
}
25+
26+
/* Firefox browsers */
27+
* {
28+
scrollbar-width: thin;
29+
/* Options: auto, thin, none */
30+
scrollbar-color: rgba(0, 0, 0, 0.09) rgba(0, 0, 0, 0.03);
31+
}

0 commit comments

Comments
 (0)