Skip to content

Commit aa92f02

Browse files
authored
fix: textarea reset style (#39118)
close #39099 close #39113
1 parent 47b8e5a commit aa92f02

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/input/style/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,7 @@ export const genBasicInputStyle = (token: InputToken): CSSObject => ({
180180
lineHeight: token.lineHeight,
181181
verticalAlign: 'bottom',
182182
transition: `all ${token.motionDurationSlow}, height 0s`,
183-
},
184-
185-
'&-textarea': {
186-
'&-rtl': {
187-
direction: 'rtl',
188-
},
183+
resize: 'vertical',
189184
},
190185

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

194+
// RTL
199195
'&-rtl': {
200196
direction: 'rtl',
201197
},
198+
199+
'&-textarea-rtl': {
200+
direction: 'rtl',
201+
},
202202
});
203203

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

0 commit comments

Comments
 (0)