Skip to content

Commit

Permalink
style:隐藏顶栏的纵向滚动条(单双栏布局模式)
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Mar 31, 2024
1 parent a2315ae commit a31b5cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions web/src/layouts/backend/components/menus/menuHorizontal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ onBeforeRouteUpdate((to) => {
display: flex;
align-items: center;
width: 100vw;
height: 60px;
height: var(--el-header-height);
background-color: var(--ba-bg-color-overlay);
border-bottom: solid 1px var(--el-color-info-light-8);
border-bottom: 1px solid var(--el-color-info-light-8);
}
.menu-horizontal-logo {
width: 180px;
Expand All @@ -71,6 +71,7 @@ onBeforeRouteUpdate((to) => {
}
.horizontal-menus-scrollbar {
flex: 1;
height: var(--el-header-height);
}
.menu-horizontal {
border: none;
Expand Down
5 changes: 3 additions & 2 deletions web/src/layouts/backend/components/navBar/double.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ onBeforeRouteUpdate((to) => {
.layouts-menu-horizontal-double {
display: flex;
align-items: center;
height: 60px;
height: var(--el-header-height);
background-color: var(--ba-bg-color-overlay);
border-bottom: solid 1px var(--el-color-info-light-8);
border-bottom: 1px solid var(--el-color-info-light-8);
}
.double-menus-scrollbar {
width: 70vw;
height: var(--el-header-height);
}
.menu-horizontal {
border: none;
Expand Down

0 comments on commit a31b5cf

Please sign in to comment.