chore: fix dialogs
This commit is contained in:
@@ -14,7 +14,7 @@ const AlertDialog = ({
|
|||||||
})
|
})
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog store={dialog} role="alertdialog" className="h-full w-full" backdropProps={{ className: '!z-modal' }}>
|
<Dialog store={dialog} role="alertdialog" className="fixed top-0 left-0 z-modal h-full w-full">
|
||||||
<div
|
<div
|
||||||
className="absolute z-0 h-full w-full bg-passive-5 opacity-25 md:opacity-75"
|
className="absolute z-0 h-full w-full bg-passive-5 opacity-25 md:opacity-75"
|
||||||
role="presentation"
|
role="presentation"
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ const HistoryModalDialog = forwardRef(({ children, onDismiss }: Props, ref: Forw
|
|||||||
store={dialog}
|
store={dialog}
|
||||||
aria-label="Note revision history"
|
aria-label="Note revision history"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
backdropProps={{
|
className="fixed top-0 left-0 z-modal h-full w-full"
|
||||||
className: '!z-modal',
|
|
||||||
}}
|
|
||||||
className="h-full w-full"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="absolute z-0 h-full w-full bg-passive-5 opacity-0 md:opacity-75"
|
className="absolute z-0 h-full w-full bg-passive-5 opacity-0 md:opacity-75"
|
||||||
|
|||||||
Reference in New Issue
Block a user