mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Fix menu hover style
This commit is contained in:
parent
516c9e1f51
commit
1d2bfd2a9f
@ -52,7 +52,6 @@
|
||||
}
|
||||
|
||||
& > li&-submenu {
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
@ -157,11 +156,14 @@
|
||||
z-index: 0;
|
||||
|
||||
& > .@{menu-prefix-cls}-item,
|
||||
& > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
|
||||
& > .@{menu-prefix-cls}-submenu {
|
||||
padding: 0 20px;
|
||||
line-height: 50px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
> a , > span{
|
||||
line-height: 51px;
|
||||
}
|
||||
> a {
|
||||
display: block;
|
||||
color: @text-color;
|
||||
|
Loading…
Reference in New Issue
Block a user