mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
style: 💄 update Menu.Item horizontal style (#25622)
* refactor: menu style * chore * chore * fix: site style
This commit is contained in:
parent
d52965e5df
commit
f38f297616
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user