优化页签滚动条层级

This commit is contained in:
RuoYi
2026-06-10 22:33:46 +08:00
parent f6763c1ab6
commit b99039b609
2 changed files with 23 additions and 2 deletions

View File

@@ -693,12 +693,33 @@ $tags-bar-height: 34px;
.el-scrollbar__bar { .el-scrollbar__bar {
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
z-index: 10;
.tags-view-container:hover & { .tags-view-container:hover & {
opacity: 1; opacity: 1;
} }
} }
.tags-view-container--chrome & {
.el-scrollbar {
position: relative;
}
.el-scrollbar__wrap {
&::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
}
scrollbar-width: none;
-ms-overflow-style: none;
}
.el-scrollbar__bar.is-horizontal {
z-index: 20;
height: 6px !important;
}
}
.tags-view-item { .tags-view-item {
.el-icon-close { .el-icon-close {
width: 16px; width: 16px;