Skip to content

Commit

Permalink
fix(Slideover): handle translate in RTL mode (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
FADL285 committed Jan 22, 2024
1 parent 0083ca2 commit ea58c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/ui.config/overlays/slideover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

1 comment on commit ea58c88

@vercel
Copy link

@vercel vercel bot commented on ea58c88 Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxt-js.vercel.app
ui.nuxt.com
ui-git-dev-nuxt-js.vercel.app

Please sign in to comment.