mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
feat(components): improve RTL support (#2433)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -22,10 +22,10 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
next: '-bottom-12 left-1/2 -translate-x-1/2 rotate-90'
|
||||
},
|
||||
horizontal: {
|
||||
container: 'flex-row -ml-4',
|
||||
item: 'pl-4',
|
||||
prev: '-left-12 top-1/2 -translate-y-1/2',
|
||||
next: '-right-12 top-1/2 -translate-y-1/2'
|
||||
container: 'flex-row -ms-4',
|
||||
item: 'ps-4',
|
||||
prev: '-start-12 top-1/2 -translate-y-1/2',
|
||||
next: '-end-12 top-1/2 -translate-y-1/2'
|
||||
}
|
||||
},
|
||||
active: {
|
||||
|
||||
Reference in New Issue
Block a user