fix(Slideover): set max height on top / bottom positions

Resolves nuxt/ui#2388
This commit is contained in:
Benjamin Canac
2024-10-17 22:44:56 +02:00
parent 973023a04e
commit a68016ec5d
2 changed files with 4 additions and 4 deletions

View File

@@ -12,13 +12,13 @@ export default {
variants: {
side: {
top: {
content: 'inset-x-0 top-0'
content: 'inset-x-0 top-0 max-h-full'
},
right: {
content: 'right-0 inset-y-0 w-full max-w-md'
},
bottom: {
content: 'inset-x-0 bottom-0'
content: 'inset-x-0 bottom-0 max-h-full'
},
left: {
content: 'left-0 inset-y-0 w-full max-w-md'