mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 02:10:40 +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',
|
width: 'w-screen max-w-md',
|
||||||
translate: {
|
translate: {
|
||||||
base: 'translate-x-0',
|
base: 'translate-x-0',
|
||||||
left: '-translate-x-full',
|
left: '-translate-x-full rtl:translate-x-full',
|
||||||
right: 'translate-x-full'
|
right: 'translate-x-full rtl:-translate-x-full'
|
||||||
},
|
},
|
||||||
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
||||||
transition: {
|
transition: {
|
||||||
|
|||||||
Reference in New Issue
Block a user