style: 💄 update Menu.Item horizontal style (#25622)

* refactor: menu style

* chore

* chore

* fix: site style
This commit is contained in:
07akioni 2020-07-24 14:39:47 +08:00 committed by GitHub
parent d52965e5df
commit f38f297616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -338,6 +338,12 @@
position: relative;
top: 1px;
display: inline-block;
margin: @menu-item-padding;
margin-top: 0;
margin-bottom: 0;
padding: @menu-item-padding;
padding-right: 0;
padding-left: 0;
vertical-align: bottom;
border-bottom: 2px solid transparent;
@ -350,6 +356,10 @@
}
}
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
padding: 0;
}
> .@{menu-prefix-cls}-item {
a {
color: @menu-item-color;

View File

@ -15,6 +15,8 @@
& > .ant-menu-submenu {
min-width: 72px;
height: @header-height;
margin-right: 0;
margin-left: 0;
line-height: @header-height - @menu-item-border - 2px;
border-top: @menu-item-border solid transparent;