mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
滚动条的样式提到全局
This commit is contained in:
@@ -41,3 +41,21 @@ body {
|
||||
.bdr-l {
|
||||
border-left: 1px solid #e9e9eb;
|
||||
}
|
||||
|
||||
// 应用到全局
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
:hover {
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #409eff;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,22 +26,5 @@ const options = {
|
||||
.ql-editor {
|
||||
padding: 8px;
|
||||
font-size: 14px;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 3px;
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: #409eff;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user