fix: Fixed issue where popover/modal headers would get cut off by desktop titlebar

This commit is contained in:
Aman Harwara
2023-01-25 21:27:58 +05:30
parent 00eae833b0
commit a8c0be4f63
5 changed files with 9 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ const Modal = ({ title, close, actions = [], className = {}, customHeader, custo
togglePopover={() => setShowAdvanced((show) => !show)}
align="start"
portal={false}
className="w-1/2 !min-w-0 divide-y divide-border border border-border"
className="!fixed w-1/2 !min-w-0 divide-y divide-border border border-border"
>
{extraActions
.filter((action) => action.type !== 'cancel')