gaoluyang
2025-03-17 16adfbe5466e10a23eaa5b32e91eaac69f06a452
侧边栏样式修改
已修改1个文件
33 ■■■■■ 文件已修改
src/assets/styles/sidebar.scss 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/styles/sidebar.scss
@@ -71,10 +71,37 @@
    }
    .el-menu-item, .el-submenu__title {
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
      display: flex;
      align-items: center;
    }
    .el-submenu__title span {
      white-space: normal;
      word-break: break-all;
      line-height: 20px;
      flex: 1;
      padding-right: 20px;
    }
    .el-menu-item {
      display: flex;
      align-items: center;
      padding-right: 20px !important;
    }
    .el-menu-item span {
      white-space: normal;
      word-break: break-all;
      line-height: 20px;
      flex: 1;
    }
    ///*鼠标悬浮菜单向左移:margin-left: -20px;*/
    //& .el-submenu .el-menu-item {
    //  min-width: $base-sidebar-width !important;
    //  &:hover {
    //    background-color: rgba(0, 0, 0, 0.06) !important;
    //    margin-left: -30px;
    //  }
    //}
    // menu hover
    .submenu-title-noDropdown,