Skip to content

Commit

Permalink
fix: remove reordering functions
Browse files Browse the repository at this point in the history
Remove reordering functions by increasing `disable` class on line 350 CSS specificity
  • Loading branch information
samyarkd authored and Wxh16144 committed Dec 23, 2022
1 parent 86ac0e5 commit bd94daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dropdown/style/index.tsx
Expand Up @@ -347,7 +347,7 @@ const genBaseStyle: GenerateStyle<DropdownToken> = (token) => {
},
},

[`&${menuCls}-item-disabled`]: {
[`&${menuCls}-item-disabled${menuCls}-item-disabled`]: {
color: colorTextDisabled,
cursor: 'not-allowed',

Expand Down Expand Up @@ -456,9 +456,9 @@ export default genComponentStyleHook(
dropdownEdgeChildPadding: paddingXXS,
});
return [
genStatusStyle(dropdownToken),
genBaseStyle(dropdownToken),
genButtonStyle(dropdownToken),
genStatusStyle(dropdownToken),
];
},
(token) => ({
Expand Down

0 comments on commit bd94daa

Please sign in to comment.