fix(dropdown): fix last item style on text over (#5145)

This commit is contained in:
landluck 2022-12-14 10:12:52 +08:00 committed by GitHub
parent 5ef53f25e0
commit e7426dba36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -645,7 +645,7 @@
@dropdown-menu-title-text-color: @text-color; @dropdown-menu-title-text-color: @text-color;
@dropdown-menu-title-active-text-color: @red; @dropdown-menu-title-active-text-color: @red;
@dropdown-menu-title-disabled-text-color: @gray-6; @dropdown-menu-title-disabled-text-color: @gray-6;
@dropdown-menu-title-padding: 0 @padding-xs; @dropdown-menu-title-padding: 0 @padding-lg 0 @padding-xs;
@dropdown-menu-title-line-height: 18px; @dropdown-menu-title-line-height: 18px;
@dropdown-menu-option-active-color: @red; @dropdown-menu-option-active-color: @red;
@dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12); @dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12);

View File

@ -56,7 +56,7 @@
&::after { &::after {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: -4px; right: 11px;
margin-top: -5px; margin-top: -5px;
border: 3px solid; border: 3px solid;
border-color: transparent transparent currentColor currentColor; border-color: transparent transparent currentColor currentColor;