From 53b9fb93d0376eb02bb996935f1720b4e95cd897 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 12 十月 2022 14:41:06 +0800 Subject: [PATCH] 2022-10-12 --- src/pc/components/navbar/normal-navbar/index.scss | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss index ebd7439..5882cf7 100644 --- a/src/pc/components/navbar/normal-navbar/index.scss +++ b/src/pc/components/navbar/normal-navbar/index.scss @@ -9,7 +9,7 @@ background-repeat: no-repeat; background-size: cover; min-height: 50px; - z-index: 2; + z-index: 3; .navbar-wrap { margin: 0 auto; @@ -39,6 +39,9 @@ border: 0; .ant-menu-item:hover, .ant-menu-item-active, .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, .ant-menu-submenu-active, .ant-menu-submenu-title:hover { color: unset; + } + .ant-menu-item span { + display: inline-block; } } .ant-menu-horizontal > .ant-menu-item:hover, .ant-menu-horizontal > .ant-menu-submenu:hover, .ant-menu-horizontal > .ant-menu-item-active, .ant-menu-horizontal > .ant-menu-submenu-active, .ant-menu-horizontal > .ant-menu-item-open, .ant-menu-horizontal > .ant-menu-submenu-open, .ant-menu-horizontal > .ant-menu-item-selected, .ant-menu-horizontal > .ant-menu-submenu-selected { @@ -130,7 +133,6 @@ clear: both; } .normal-navbar-edit-box:hover { - z-index: 1; box-shadow: 0px 0px 4px #1890ff; } .top-menu-popover { -- Gitblit v1.8.0