[bugfix] DropdownMenu: incorrect style when inside NavBar (#4098)
This commit is contained in:
@@ -35,11 +35,13 @@
|
||||
padding: @dropdown-menu-title-padding;
|
||||
color: @dropdown-menu-title-text-color;
|
||||
font-size: @dropdown-menu-title-font-size;
|
||||
line-height: @dropdown-menu-title-line-height;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
top: 50%;
|
||||
right: -4px;
|
||||
margin-top: -5px;
|
||||
border: 3px solid;
|
||||
border-color: transparent transparent currentColor currentColor;
|
||||
transform: rotate(-45deg);
|
||||
@@ -49,7 +51,7 @@
|
||||
|
||||
&--down {
|
||||
&::after {
|
||||
top: 7px;
|
||||
margin-top: -1px;
|
||||
transform: rotate(135deg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user