mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(Slideover): handle translate in RTL mode (#1259)
This commit is contained in:
@@ -22,8 +22,8 @@ export default {
|
||||
width: 'w-screen max-w-md',
|
||||
translate: {
|
||||
base: 'translate-x-0',
|
||||
left: '-translate-x-full',
|
||||
right: 'translate-x-full'
|
||||
left: '-translate-x-full rtl:translate-x-full',
|
||||
right: 'translate-x-full rtl:-translate-x-full'
|
||||
},
|
||||
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
||||
transition: {
|
||||
|
||||
Reference in New Issue
Block a user