Skip to content

Commit 2a44672

Browse files
committed
Fix min width of Modal on mobile
1 parent fbe5910 commit 2a44672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const Modal = ({title, trigger, inputFields, changeHandler, confirmHandle
4040
{showModal ?
4141
<div>
4242
<div className='opacity-50 bg-black fixed top-0 left-0 h-full w-full' onClick={close}/>
43-
<div className="flex-auto bg-white rounded-lg border-2 border-slate-300 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-3">
43+
<div className="flex-auto bg-white rounded-lg border-2 border-slate-300 absolute min-w-80 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-3">
4444
<h3 className="font-semibold">
4545
{title}
4646
</h3>

0 commit comments

Comments
 (0)