From e7426dba3619db835cd75fcd776ccffb7d20d290 Mon Sep 17 00:00:00 2001 From: landluck Date: Wed, 14 Dec 2022 10:12:52 +0800 Subject: [PATCH] fix(dropdown): fix last item style on text over (#5145) --- packages/common/style/var.less | 2 +- packages/dropdown-menu/index.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/style/var.less b/packages/common/style/var.less index 9ac06e0d..762e9314 100644 --- a/packages/common/style/var.less +++ b/packages/common/style/var.less @@ -645,7 +645,7 @@ @dropdown-menu-title-text-color: @text-color; @dropdown-menu-title-active-text-color: @red; @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-option-active-color: @red; @dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12); diff --git a/packages/dropdown-menu/index.less b/packages/dropdown-menu/index.less index e91e40d9..93ca750a 100644 --- a/packages/dropdown-menu/index.less +++ b/packages/dropdown-menu/index.less @@ -56,7 +56,7 @@ &::after { position: absolute; top: 50%; - right: -4px; + right: 11px; margin-top: -5px; border: 3px solid; border-color: transparent transparent currentColor currentColor;