From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/pc/components/navbar/normal-navbar/index.scss | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss index c141a87..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; @@ -36,8 +36,12 @@ line-height: inherit; font-size: inherit; color: inherit; + 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 { @@ -48,6 +52,10 @@ flex: 1; display: inline-block; text-align: right; + color: inherit; + button { + color: inherit; + } } } .card-control { @@ -125,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