Put profile underneath bet popup

This commit is contained in:
James Grugett 2022-02-08 00:57:34 -06:00
parent 2d7c895964
commit 096ac8f512
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export function Modal(props: {
<Transition.Root show={open} as={Fragment}> <Transition.Root show={open} as={Fragment}>
<Dialog <Dialog
as="div" as="div"
className="fixed z-40 inset-0 overflow-y-auto" className="fixed z-50 inset-0 overflow-y-auto"
onClose={setOpen} onClose={setOpen}
> >
<div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> <div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">

View File

@ -9,7 +9,7 @@ export function MenuButton(props: {
}) { }) {
const { buttonContent, menuItems, className } = props const { buttonContent, menuItems, className } = props
return ( return (
<Menu as="div" className={clsx('flex-shrink-0 relative z-50', className)}> <Menu as="div" className={clsx('flex-shrink-0 relative z-40', className)}>
<div> <div>
<Menu.Button className="rounded-full flex"> <Menu.Button className="rounded-full flex">
<span className="sr-only">Open user menu</span> <span className="sr-only">Open user menu</span>