[bugfix] DropdownMenu: incorrect style when inside NavBar (#4098)

This commit is contained in:
neverland
2019-08-12 16:55:01 +08:00
committed by GitHub
parent f728931527
commit 432fdcbe87
5 changed files with 28 additions and 20 deletions
+4 -2
View File
@@ -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);
}
}