常熟吴彦祖 1 week ago
parent
commit
4f86129eed
  1. 7
      src/assets/scss/_base.scss
  2. 10
      src/assets/scss/global.scss

7
src/assets/scss/_base.scss

@ -284,13 +284,14 @@ img {
&__inner { &__inner {
position: relative; position: relative;
z-index: 1; z-index: 1;
width: 250px; // 放出侧边滚动条
width: 100%;
height: 100%; height: 100%;
padding-bottom: 15px; padding-bottom: 15px;
overflow-y: scroll;
overflow-x: hidden;
overflow-y: auto;
} }
&__menu.el-menu { &__menu.el-menu {
width: 230px;
width: 100%;
border-right: 0; border-right: 0;
} }
&__menu-icon { &__menu-icon {

10
src/assets/scss/global.scss

@ -12,13 +12,13 @@
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
padding: 0 45px; padding: 0 45px;
min-width: 175%;
}
.site-sidebar__inner {
width: 256px;
min-width: 100%;
max-width: 100%;
box-sizing: border-box;
} }
.site-sidebar__inner { .site-sidebar__inner {
width: 260px;
width: 100%;
overflow-x: hidden;
} }
/* 侧边导航栏 end*/ /* 侧边导航栏 end*/

Loading…
Cancel
Save