Skip to content

Commit

Permalink
fix: textarea reset style (#39118)
Browse files Browse the repository at this point in the history
close #39099
close #39113
  • Loading branch information
afc163 committed Nov 30, 2022
1 parent 47b8e5a commit aa92f02
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/input/style/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ export const genBasicInputStyle = (token: InputToken): CSSObject => ({
lineHeight: token.lineHeight,
verticalAlign: 'bottom',
transition: `all ${token.motionDurationSlow}, height 0s`,
},

'&-textarea': {
'&-rtl': {
direction: 'rtl',
},
resize: 'vertical',
},

// Size
Expand All @@ -196,9 +191,14 @@ export const genBasicInputStyle = (token: InputToken): CSSObject => ({
...genInputSmallStyle(token),
},

// RTL
'&-rtl': {
direction: 'rtl',
},

'&-textarea-rtl': {
direction: 'rtl',
},
});

export const genInputGroupStyle = (token: InputToken): CSSObject => {
Expand Down

0 comments on commit aa92f02

Please sign in to comment.