fixed position for Dialog

This commit is contained in:
Bernt Christian Egeland
2021-08-22 14:58:25 +02:00
parent 334095252c
commit 5beb20c86e
+1 -1
View File
@@ -19,7 +19,7 @@ export default function Dialog({ actions = [], portalRootID = 'dialogs', title,
<div
data-testid="scrim"
key="scrim"
className="absolute inset-0 z-10 flex justify-center items-center bg-black bg-opacity-40"
className="fixed bg-fixed inset-0 z-10 flex justify-center items-center bg-black bg-opacity-40"
>
<div
role="modal"