fix: 🐛 顶部模式滚动条,设置`icon`的`hover`背景颜色优化

Former-commit-id: 8acf71d815
This commit is contained in:
hxr 2023-08-12 13:24:18 +08:00
parent 67e049bfcc
commit 1093c40e22
2 changed files with 12 additions and 6 deletions

View File

@ -94,12 +94,12 @@ function logout() {
width: 30px;
height: 50px;
line-height: 50px;
color: #5a5e66;
color: var(--el-text-color-regular);
text-align: center;
cursor: pointer;
&:hover {
background: rgb(249 250 251 / 100%);
background: var(--el-color-info-light-3);
}
}
}

View File

@ -131,22 +131,28 @@ function handleOutsideClick() {
//
.isTop {
.sidebar-container {
z-index: 800;
display: flex;
width: 100% !important;
height: 50px;
display: flex;
z-index: 800;
:deep(.logo-wrap) {
width: 210px;
}
:deep(.el-scrollbar) {
flex: 1;
min-width: 0px;
min-width: 0;
height: 50px;
}
}
.main-container {
margin-left: 0px;
padding-top: 50px;
margin-left: 0;
}
//
--el-menu-item-height: 50px;
}
</style>