优化页签滚动条层级

This commit is contained in:
RuoYi
2026-06-10 22:33:18 +08:00
parent 09f1b3495f
commit 41720e624c
2 changed files with 23 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
<dependencyManagement>
<dependencies>
<!-- SpringBoot的依赖配置-->
<!-- SpringBoot的依赖配置 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>

View File

@@ -693,12 +693,33 @@ $tags-bar-height: 34px;
.el-scrollbar__bar {
opacity: 0;
transition: opacity 0.3s;
z-index: 10;
.tags-view-container:hover & {
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 {
.el-icon-close {
width: 16px;