瀏覽代碼

修复使用TopNav更多菜单样式不同步问题

RuoYi 3 年之前
父節點
當前提交
bab9941aac
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/components/TopNav/index.vue
  2. 1 1
      src/layout/index.vue

+ 1 - 1
src/components/TopNav/index.vue

@@ -172,7 +172,7 @@ onMounted(() => {
 }
 
 /* sub-menu item */
-.topmenu-container.el-menu--horizontal > .el-sub-menu .el-submenu__title {
+.topmenu-container.el-menu--horizontal > .el-sub-menu .el-sub-menu__title {
   float: left;
   height: 50px !important;
   line-height: 50px !important;

+ 1 - 1
src/layout/index.vue

@@ -99,7 +99,7 @@ function setLayout() {
 }
 
 .sidebarHide .fixed-header {
-  width: calc(100%);
+  width: 100%;
 }
 
 .mobile .fixed-header {