Skip to content

Commit

Permalink
fix: modal close button zindex
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Oct 15, 2024
1 parent 936ad86 commit c44c9fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/renderer/src/components/ui/modal/stacked/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,11 @@ export const ModalInternal = memo(
</EllipsisHorizontalTextWithTooltip>
</Dialog.Title>
{canClose && (
<Dialog.DialogClose className="center p-2" tabIndex={1} onClick={close}>
<Dialog.DialogClose
className="center z-[1] p-2"
tabIndex={1}
onClick={close}
>
<i className="i-mgc-close-cute-re" />
</Dialog.DialogClose>
)}
Expand Down

0 comments on commit c44c9fb

Please sign in to comment.