diff --git a/src/theme/modal.ts b/src/theme/modal.ts index d93d90f40f..e0330917c3 100644 --- a/src/theme/modal.ts +++ b/src/theme/modal.ts @@ -21,7 +21,7 @@ export default { content: 'inset-0' }, false: { - content: 'top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] sm:max-w-lg sm:h-auto sm:my-8 sm:rounded-[calc(var(--ui-radius)*2)] sm:shadow-lg sm:ring ring-[var(--ui-border)]' + content: 'top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] max-w-lg w-[90vw] h-auto my-4 sm:my-8 rounded-[calc(var(--ui-radius)*2)] shadow-lg ring ring-[var(--ui-border)]' } } } diff --git a/test/components/__snapshots__/Modal-vue.spec.ts.snap b/test/components/__snapshots__/Modal-vue.spec.ts.snap index 4dd20757be..65509c4247 100644 --- a/test/components/__snapshots__/Modal-vue.spec.ts.snap +++ b/test/components/__snapshots__/Modal-vue.spec.ts.snap @@ -6,7 +6,7 @@ exports[`Modal > renders with body slot correctly 1`] = `
-