mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
parent
47b8e5aced
commit
aa92f02911
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user