Skip to content

Commit 02bf869

Browse files
fix(ui): increase z-index for Modal component to improve layering (#341)
1 parent d824a1b commit 02bf869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/Modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const Modal = React.memo(function Modal({
1515
onClose: () => void;
1616
}) {
1717
return (
18-
<Dialog open={open} onClose={onClose} className="relative z-10">
18+
<Dialog open={open} onClose={onClose} className="relative z-20">
1919
<DialogBackdrop
2020
transition
2121
className="fixed inset-0 bg-gray-500/75 transition-opacity data-[closed]:opacity-0 data-[enter]:duration-500 data-[leave]:duration-200 data-[enter]:ease-out data-[leave]:ease-in dark:bg-slate-900/90"
2222
/>
23-
<div className="fixed inset-0 z-10 w-screen overflow-y-auto">
23+
<div className="fixed inset-0 z-20 w-screen overflow-y-auto">
2424
{/* TODO: This doesn't work well with other-sessions */}
2525
<div className="flex min-h-full items-end justify-center p-4 text-center md:items-baseline md:p-4">
2626
<DialogPanel

0 commit comments

Comments
 (0)