From bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2 Mon Sep 17 00:00:00 2001 From: samyar <75088294+samyarkd@users.noreply.github.com> Date: Thu, 15 Dec 2022 17:02:43 +0330 Subject: [PATCH] fix: remove reordering functions Remove reordering functions by increasing `disable` class on line 350 CSS specificity --- components/dropdown/style/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dropdown/style/index.tsx b/components/dropdown/style/index.tsx index c6141a8cc6d2..70cbd28c6756 100644 --- a/components/dropdown/style/index.tsx +++ b/components/dropdown/style/index.tsx @@ -347,7 +347,7 @@ const genBaseStyle: GenerateStyle = (token) => { }, }, - [`&${menuCls}-item-disabled`]: { + [`&${menuCls}-item-disabled${menuCls}-item-disabled`]: { color: colorTextDisabled, cursor: 'not-allowed', @@ -456,9 +456,9 @@ export default genComponentStyleHook( dropdownEdgeChildPadding: paddingXXS, }); return [ - genStatusStyle(dropdownToken), genBaseStyle(dropdownToken), genButtonStyle(dropdownToken), + genStatusStyle(dropdownToken), ]; }, (token) => ({