Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
indraneel committed Feb 22, 2024
1 parent 7b0168b commit 1c8e839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/ui/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function Modal({
<Dialog.Root open={isOpen} onOpenChange={onOpenChange}>
<Dialog.Portal>
<StyledOverlay />
<StyledModalContent className={`w-3/4 md:w-1/4 top-1/2 left-1/2 ${isCentered ? `md:top-1/2 md:left-1/2` : `md:top-3/4 md:left-96`}`}>
<StyledModalContent className={`w-3/4 md:w-4/12 top-1/2 left-1/2 ${isCentered ? `md:top-1/2 md:left-1/2` : `md:top-3/4 md:left-1/4`}`}>
<div className="p-6 space-y-4">
<StyledModalTitle className="text-xl text-slate-800">
{title}
Expand Down

0 comments on commit 1c8e839

Please sign in to comment.