马宇豪
2024-01-19 f52ca56c8508f33c1dad9c7dcaaaec701c83e3e3
src/styles/sidebar.scss
@@ -12,11 +12,11 @@
  .sidebar-container {
    transition: width 0.28s;
    width: $sideBarWidth !important;
    height: 95%;
    height: 100%;
    position: fixed;
   //position: absolute;
    font-size: 0px;
    top: 60px;
    top: 80px;
    //top: 0;
    bottom: 0;
    left: 0;
@@ -30,9 +30,14 @@
    .scrollbar-wrapper {
      overflow-x: hidden !important;
        overflow-y: scroll;
        height: calc(100vh - 80px);
      .el-scrollbar__view {
        height: 100%;
          overflow-y: auto;
          &::-webkit-scrollbar { width: 0; height: 0; color: transparent }
          &::scrollbar { width: 0; height: 0; color: transparent }
      }
    }