feat(Modal): add fullscreen prop (#523)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Eduard Aymerich
2023-08-10 22:10:59 +02:00
committed by Benjamin Canac
parent ccb0f6207c
commit 7e2bebd3ef
4 changed files with 97 additions and 2 deletions

View File

@@ -877,7 +877,8 @@ const modal = {
inner: 'fixed inset-0 overflow-y-auto',
container: 'flex min-h-full items-end sm:items-center justify-center text-center',
padding: 'p-4 sm:p-0',
base: 'relative text-left rtl:text-right overflow-hidden sm:my-8 w-full flex flex-col',
margin: 'sm:my-8',
base: 'relative text-left rtl:text-right overflow-hidden w-full flex flex-col',
overlay: {
base: 'fixed inset-0 transition-opacity',
background: 'bg-gray-200/75 dark:bg-gray-800/75',