style: scroll bar style

This commit is contained in:
jialin
2024-08-16 18:47:51 +08:00
parent 2e00309b40
commit 5b050265c1
6 changed files with 38 additions and 41 deletions
+9 -2
View File
@@ -10,12 +10,19 @@
}
&::-webkit-scrollbar-thumb {
background-color: var(--ant-color-fill);
background-color: transparent;
border-radius: 4px;
}
&::-webkit-scrollbar-track {
background-color: var(--color-white-1);
background-color: transparent;
}
&:hover {
&::-webkit-scrollbar-thumb {
background-color: var(--ant-color-fill);
border-radius: 4px;
}
}
}