Skip to content

Commit f3fb182

Browse files
committed
fix(scrollbars): do not apply css scrollbars
1 parent b0f40ef commit f3fb182

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

ionic/components/app/scrollbars.scss

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,26 @@
44
// Styling for dekstop webkit browsers
55
// These do not apply for mobile browsers
66

7-
::-webkit-scrollbar {
8-
width: 9px;
9-
}
7+
.css-scrollbars {
108

11-
::-webkit-scrollbar-thumb:vertical,
12-
::-webkit-scrollbar-thumb:horizontal {
13-
background: rgba(0, 0, 0, 0.4);
14-
border: 2px solid transparent;
15-
border-radius: 20px;
16-
background-clip: padding-box;
17-
min-height: 10px;
18-
}
9+
::-webkit-scrollbar {
10+
width: 9px;
11+
}
1912

20-
::-webkit-scrollbar-thumb:vertical:active,
21-
::-webkit-scrollbar-thumb:horizontal:active {
22-
background: rgba(0, 0, 0, 0.6);
23-
border: 2px solid transparent;
24-
border-radius: 20px;
25-
background-clip: padding-box;
26-
min-height: 10px;
27-
}
13+
::-webkit-scrollbar-thumb:vertical {
14+
background: rgba(0, 0, 0, 0.4);
15+
border: 2px solid transparent;
16+
border-radius: 20px;
17+
background-clip: padding-box;
18+
min-height: 10px;
19+
}
20+
21+
::-webkit-scrollbar-thumb:vertical:active {
22+
background: rgba(0, 0, 0, 0.6);
23+
border: 2px solid transparent;
24+
border-radius: 20px;
25+
background-clip: padding-box;
26+
min-height: 10px;
27+
}
28+
29+
}

0 commit comments

Comments
 (0)