fix(1854): view asset launches deposit (#2026)

This commit is contained in:
Art 2022-11-11 12:45:50 +01:00 committed by GitHub
parent 38030ba1ec
commit f2688c33b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -190,6 +190,7 @@ export const DepositForm = ({
data-testid="view-asset-details"
className="text-sm underline"
onClick={(e) => {
e.preventDefault();
openAssetDetailsDialog(selectedAsset, e.target as HTMLElement);
}}
>

View File

@ -58,7 +58,7 @@ export function Dialog({
<DialogPrimitives.Root open={open} onOpenChange={(x) => onChange?.(x)}>
<DialogPrimitives.Portal>
<DialogPrimitives.Overlay
className="fixed inset-0 bg-black/50 z-10"
className="fixed inset-0 bg-black/50 z-20"
data-testid="dialog-overlay"
/>
<DialogPrimitives.Content