From b58d2d0277eecbae9348d633e7dc805771962024 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 18 九月 2023 19:59:14 +0800 Subject: [PATCH] 2023-09-18 --- src/menu/header/index.scss | 51 +++++++++++---------------------------------------- 1 files changed, 11 insertions(+), 40 deletions(-) diff --git a/src/menu/header/index.scss b/src/menu/header/index.scss index 756bea5..c5626f6 100644 --- a/src/menu/header/index.scss +++ b/src/menu/header/index.scss @@ -10,7 +10,7 @@ border-bottom: 1px solid #000; .header-logo { - float: left; + position: absolute; width: 180px; line-height: 48px; text-align: center; @@ -22,8 +22,17 @@ max-height: 40px; } } + .menu-name { + text-align: center; + color: #ffffff; + line-height: 45px; + font-size: 16px; + margin-left: 40px; + } .header-setting { - float: right; + position: absolute; + right: 0px; + top: 0px; line-height: 48px; margin-right: 10px; img { @@ -43,44 +52,6 @@ text-overflow: ellipsis; white-space: nowrap; } - } - } - - >.ant-menu { - float: left; - width: unset; - .ant-menu-item { - margin-bottom: 0; - float: left; - width: unset; - cursor: default; - .anticon-arrow-left { - height: 24px; - cursor: pointer; - } - .ant-btn { - color: #fff; - width: unset; - cursor: pointer; - height: 37px; - background: transparent; - border: 0; - .anticon-save { - margin-right: 0; - } - } - .ant-btn[ant-click-animating-without-extra-node="true"]::after { - display: none!important; - } - .ant-btn::before { - display: none!important; - } - } - .ant-menu-item.ant-menu-item-selected { - background-color: transparent; - } - .ant-menu-item:not(:last-child) { - border-right: 1px solid #353535; } } } \ No newline at end of file -- Gitblit v1.8.0