balibabu
commited on
Commit
·
99bbd67
1
Parent(s):
0afec36
feat: Set the global scroll bar style #2247 (#2265)
Browse files### What problem does this PR solve?
feat: Set the global scroll bar style #2247
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- web/src/global.less +22 -0
- web/src/pages/search/index.less +0 -2
web/src/global.less
CHANGED
|
@@ -17,3 +17,25 @@ body {
|
|
| 17 |
.ant-app {
|
| 18 |
height: 100%;
|
| 19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
.ant-app {
|
| 18 |
height: 100%;
|
| 19 |
}
|
| 20 |
+
|
| 21 |
+
/* Scroll bar stylings */
|
| 22 |
+
::-webkit-scrollbar {
|
| 23 |
+
width: 10px;
|
| 24 |
+
height: 10px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
/* Track */
|
| 28 |
+
::-webkit-scrollbar-track {
|
| 29 |
+
background: rgb(219, 218, 218);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
/* Handle */
|
| 33 |
+
::-webkit-scrollbar-thumb {
|
| 34 |
+
background: #aaaaaa;
|
| 35 |
+
border-radius: 5px;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
/* Handle on hover */
|
| 39 |
+
::-webkit-scrollbar-thumb:hover {
|
| 40 |
+
background: #888;
|
| 41 |
+
}
|
web/src/pages/search/index.less
CHANGED
|
@@ -5,8 +5,6 @@
|
|
| 5 |
inset-inline-start: 0;
|
| 6 |
top: 0;
|
| 7 |
bottom: 0;
|
| 8 |
-
scrollbar-width: thin;
|
| 9 |
-
scrollbar-color: unset;
|
| 10 |
|
| 11 |
.checkGroup {
|
| 12 |
width: 100%;
|
|
|
|
| 5 |
inset-inline-start: 0;
|
| 6 |
top: 0;
|
| 7 |
bottom: 0;
|
|
|
|
|
|
|
| 8 |
|
| 9 |
.checkGroup {
|
| 10 |
width: 100%;
|