fix little errors in draft-for-curated-set flow. other cleanup
This commit is contained in:
parent
5f0b7fd9a7
commit
24b3b10bfb
11 changed files with 45 additions and 38 deletions
|
@ -56,13 +56,17 @@ export const ModalWrapper = ({
|
|||
className={`fixed top-0 left-0 m-0 p-0 shadow w-full h-screen
|
||||
transform-all duration-150 ${animation}
|
||||
bg-${bg} bg-opacity-${bgOpacity} z-50 hover:cursor-pointer
|
||||
flex flex-${flex} justify-${justify} overflow-auto items-${items} lg:p-12`}
|
||||
flex flex-${flex} justify-${justify} items-${items} lg:p-12`}
|
||||
onClick={keepOpenOnClick ? null : close}
|
||||
>
|
||||
{bare ? (
|
||||
children
|
||||
) : (
|
||||
<div className={`bg-base-100 p-4 lg:px-8 lg:rounded-lg lg:shadow-lg`}>{children}</div>
|
||||
<div
|
||||
className={`bg-base-100 p-4 lg:px-8 lg:rounded-lg lg:shadow-lg max-h-100 overflow-auto`}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue