From bab9941aacf4f53b9b7c18c0fdf8cafb7e2f0bd2 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 17 三月 2022 18:41:46 +0800 Subject: [PATCH] 修复使用TopNav更多菜单样式不同步问题 --- src/layout/index.vue | 2 +- src/components/TopNav/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index 344f658..853e48f 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -172,7 +172,7 @@ } /* 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; diff --git a/src/layout/index.vue b/src/layout/index.vue index 8d59143..419c80a 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -99,7 +99,7 @@ } .sidebarHide .fixed-header { - width: calc(100%); + width: 100%; } .mobile .fixed-header { -- Gitblit v1.9.3