mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 06:51:46 +01:00
feat(Slideover): handle top and bottom side (#1834)
This commit is contained in:
@@ -20,10 +20,13 @@ export default {
|
||||
padding: '',
|
||||
shadow: 'shadow-xl',
|
||||
width: 'w-screen max-w-md',
|
||||
height: 'h-screen max-h-96',
|
||||
translate: {
|
||||
base: 'translate-x-0',
|
||||
left: '-translate-x-full rtl:translate-x-full',
|
||||
right: 'translate-x-full rtl:-translate-x-full'
|
||||
right: 'translate-x-full rtl:-translate-x-full',
|
||||
top: '-translate-y-full',
|
||||
bottom: 'translate-y-full'
|
||||
},
|
||||
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
||||
transition: {
|
||||
|
||||
Reference in New Issue
Block a user