fix: set direction to rtl for result in cssinjs (#34465)

This commit is contained in:
vagusX 2022-03-14 14:42:32 +08:00 committed by GitHub
parent 249ae9fda8
commit ade0a5c5e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,11 @@ const genBaseStyle: GenerateStyle<ResultToken> = (token): CSSObject => {
// Result
[resultCls]: {
padding: `${token.padding * 3}px ${token.padding * 2}px`,
// RTL
'&-rtl': {
direction: 'rtl',
},
},
// Exception Status image