Commit 85a80600 authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 调整滚动条样式问题

parent 08d8a3a3
...@@ -48,7 +48,7 @@ a { ...@@ -48,7 +48,7 @@ a {
::-webkit-scrollbar { ::-webkit-scrollbar {
height: 8px; height: 8px;
width: 6px; width: 6px;
background: transparent; background: #f0f2f5;
border-radius: 5px; border-radius: 5px;
} }
...@@ -59,7 +59,7 @@ a { ...@@ -59,7 +59,7 @@ a {
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
width: 8px; width: 8px;
min-height: 15px; min-height: 15px;
background: transparent; background: rgba(0,0,0,.2);
border-radius: 5px; border-radius: 5px;
} }
......
...@@ -243,7 +243,23 @@ ...@@ -243,7 +243,23 @@
text-align: center; text-align: center;
overflow-y: scroll; overflow-y: scroll;
list-style: none; list-style: none;
&::-webkit-scrollbar {
height: 8px;
width: 6px;
background: transparent;
border-radius: 5px;
}
&::-webkit-scrollbar-button {
display: none;
}
&::-webkit-scrollbar-thumb {
width: 8px;
min-height: 15px;
background: transparent;
border-radius: 5px;
}
li { li {
padding: 8px 0; padding: 8px 0;
position: relative; position: relative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment