Update scrollbar 滚动条样式:增加边框半径并调整尺寸以提高美观度。

This commit is contained in:
huweihang
2025-12-08 21:50:35 +08:00
committed by joshen
parent 6e3d41368f
commit 68a383f31e

View File

@@ -1489,7 +1489,7 @@ export default {
} }
::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar-thumb { ::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 3px; border-radius: 6px;
background-color: rgb(78, 166, 255); background-color: rgb(78, 166, 255);
} }
@@ -1497,19 +1497,19 @@ export default {
overflow: hidden; overflow: hidden;
} }
:global(::-webkit-scrollbar) { :global(::-webkit-scrollbar) {
width: 8px; width: 6px;
height: 10px; height: 8px;
} }
:global(::-webkit-scrollbar-thumb) { :global(::-webkit-scrollbar-thumb) {
border-radius: 3px; border-radius: 6px;
background-color: rgb(78, 166, 255); background-color: rgb(78, 166, 255);
} }
::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar { ::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar {
width: 8px; width: 6px;
height: 10px; height: 8px;
} }
::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar-thumb { ::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 3px; border-radius: 6px;
background-color: rgb(78, 166, 255); background-color: rgb(78, 166, 255);
} }
</style> </style>