diff --git a/components/input/style/index.tsx b/components/input/style/index.tsx index f5eb84c93460..f7bb7c68680c 100644 --- a/components/input/style/index.tsx +++ b/components/input/style/index.tsx @@ -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 @@ -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 => {