偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
components/menu/style/index.less
|
|
@ -210,17 +210,26 @@ |
|
|
|
z-index: @zindex-dropdown; |
|
|
|
border-radius: @border-radius-base; |
|
|
|
|
|
|
|
// https://github.com/ant-design/ant-design/issues/13955 |
|
|
|
&::before { |
|
|
|
position: absolute; |
|
|
|
top: -7px; |
|
|
|
right: 0; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
opacity: 0.0001; |
|
|
|
content: ' '; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// https://github.com/ant-design/ant-design/issues/13955 |
|
|
|
&-placement-rightTop::before { |
|
|
|
top: 0; |
|
|
|
left: -7px; |
|
|
|
} |
|
|
|
|
|
|
|
> .@{menu-prefix-cls} { |
|
|
|
background-color: @menu-bg; |
|
|
|
border-radius: @border-radius-base; |
|
|
|