Skip to content

Commit

Permalink
Fixed the size of the modal
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh-bhatnagar18 committed Jun 13, 2024
1 parent 0bdacb7 commit 4c9dc55
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/library/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ const Modal: React.FC<ModalProps> = ({ onClose }) => {
onClick={closeModal}
className="fixed inset-0 bg-black bg-opacity-30 backdrop-blur-sm flex items-center justify-center"
>
<div className="bg-[rgb(222,209,209)] p-5 rounded-xl border-4 border-black shadow-md flex flex-col gap-4 w-100 items-center">
<div className="bg-[rgb(222,209,209)] p-5 rounded-xl border-4 border-black shadow-md flex flex-col gap-10 w-1/3 h-1/3 items-center justify-center">
<h1 className="font-normal font-[Kavoon] text-[30px] leading-[30px] text-black text-center">
Join an
<br />
Existing Game
</h1>
<div className="flex justify-center">
<div className="flex justify-center w-2/3">
<input
className="font-normal font-[Kavoon] text-[20px] py-2 px-6 border-4 border-black rounded-3xl w-64 h-10"
className="font-normal font-[Kavoon] text-[20px] py-2 px-6 border-4 border-black rounded-3xl w-full h-12"
placeholder="Enter the game code"
style={{
backgroundColor: 'rgb(222, 209, 209)',
Expand Down

0 comments on commit 4c9dc55

Please sign in to comment.