refactor: 滚动条样式

This commit is contained in:
chenjianxing 2020-12-11 15:52:55 +08:00
parent 934db9d33c
commit f8a5f249ed
2 changed files with 24 additions and 1 deletions

View File

@ -485,7 +485,7 @@
} }
.filter-input { .filter-input {
width: 180px; width: 175px;
padding-left: 3px; padding-left: 3px;
} }
@ -497,4 +497,9 @@
padding-right: 10px; padding-right: 10px;
} }
.protocol-select >>> .el-input--small {
font-size: 10px;
width: 90px;
}
</style> </style>

View File

@ -119,3 +119,21 @@ html,body {
.el-input__inner[maxlength] { .el-input__inner[maxlength] {
padding-right: 60px; padding-right: 60px;
} }
/* 滚动条样式 */
::-webkit-scrollbar{
width: 5px;
height: 5px;
position: fixed;
}
::-webkit-scrollbar-thumb{
border-radius: 1em;
background-color: rgba(50,50,50,.3);
position: fixed;
}
::-webkit-scrollbar-track{
border-radius: 1em;
background-color: rgba(50,50,50,.1);
position: fixed;
}