Skip to content

Commit

Permalink
chore: remove duplicate styles (ant-design#44368)
Browse files Browse the repository at this point in the history
genBasicInputStyle 方法中已经包括  genActiveStyle 了
  • Loading branch information
Wxh16144 authored Aug 23, 2023
1 parent f5fcb70 commit 5d522a3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/mentions/style/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { InputToken } from '../../input/style';
import {
genActiveStyle,
genBasicInputStyle,
genDisabledStyle,
genPlaceholderStyle,
Expand Down Expand Up @@ -77,10 +76,6 @@ const genMentionsStyle: GenerateStyle<MentionsToken> = (token) => {
},
},

'&-focused': {
...genActiveStyle(token),
},

[`&-affix-wrapper ${componentCls}-suffix`]: {
position: 'absolute',
top: 0,
Expand Down

0 comments on commit 5d522a3

Please sign in to comment.