modal overflow
This commit is contained in:
parent
d8967dcd71
commit
40670f3cfb
|
@ -328,11 +328,7 @@ const DashboardSuggestedValues = ({
|
|||
)
|
||||
|
||||
return (
|
||||
<Modal
|
||||
panelClassNames="!max-w-[800px] !max-h-[700px] overflow-auto"
|
||||
isOpen={isOpen}
|
||||
onClose={onClose}
|
||||
>
|
||||
<Modal panelClassNames="!max-w-[800px]" isOpen={isOpen} onClose={onClose}>
|
||||
<h3 className="mb-6">
|
||||
<span>
|
||||
{bank.name} - Suggested tier: {PRESETS[suggestedTierKey].preset_name}{' '}
|
||||
|
|
|
@ -62,7 +62,7 @@ function Modal({
|
|||
} h-full w-full bg-th-bkg-1 font-body ${
|
||||
fullScreen
|
||||
? ''
|
||||
: 'p-4 sm:h-auto sm:max-w-md sm:rounded-lg sm:border sm:border-th-bkg-3 sm:p-6'
|
||||
: 'thin-scroll max-h-[calc(100vh-48px)] overflow-y-auto p-4 sm:h-auto sm:max-w-md sm:rounded-lg sm:border sm:border-th-bkg-3 sm:p-6'
|
||||
} relative ${panelClassNames}`}
|
||||
>
|
||||
<div>{children}</div>
|
||||
|
|
Loading…
Reference in New Issue