From 724a61b362f7842909129e0f685bf9629ed96c59 Mon Sep 17 00:00:00 2001 From: Mats Eriksson Date: Mon, 16 Dec 2024 00:54:02 +0200 Subject: [PATCH] fix: client ui modal close button positioning to top right --- apps/ui/components/common/Modal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/ui/components/common/Modal.tsx b/apps/ui/components/common/Modal.tsx index 3d901526b..478d61cb4 100644 --- a/apps/ui/components/common/Modal.tsx +++ b/apps/ui/components/common/Modal.tsx @@ -45,6 +45,9 @@ const CloseButton = styled(Button).attrs({ variant: "secondary", })` border-width: 0 !important; + position: absolute !important; + top: 0 !important; + right: 0 !important; `; type Props = {