Skip to content

Commit

Permalink
Update AddRoomPanel styling and form layout
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 16, 2024
1 parent 9d083d7 commit 89cbad9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/Room/AddRoomPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function AddRoomPanel({ hideAddRoomPanel }: any) {
onClick={() => hideAddRoomPanel(true)}
>
<div
className="relative w-full bg-white rounded-lg shadow-lg md:mt-0 sm:max-w-md xl:p-0 dark:bg-gray-900"
className="relative w-full bg-white rounded-lg shadow-lg md:mt-0 sm:max-w-md xl:p-0 dark:bg-gray-900 flex flex-col justify-center items-center"
onClick={(e) => e.stopPropagation()}
>
<AiFillCloseCircle
Expand All @@ -76,11 +76,11 @@ function AddRoomPanel({ hideAddRoomPanel }: any) {
onClick={() => hideAddRoomPanel(true)}
/>
<div className="p-6 space-y-4 md:space-y-6 sm:p-8">
<h1 className="text-xl font-bold tracking-tight leading-tight text-gray-900 md:text-2xl dark:text-gray-300">
<h1 className="text-xl font-bold tracking-tight leading-tight text-gray-900 md:text-2xl dark:text-gray-300 flex flex-col justify-center items-center">
Create or join room
</h1>
<div className="flex space-x-4">
<form className="space-y-4 md:space-y-6">
<form className="flex flex-col justify-between space-y-4 md:space-y-6 h-full">
<div>
<label
htmlFor="roomId"
Expand All @@ -102,7 +102,7 @@ function AddRoomPanel({ hideAddRoomPanel }: any) {
Join Room
</button>
</form>
<form className="space-y-4 md:space-y-6">
<form className="flex flex-col justify-between space-y-4 md:space-y-6 h-full">
<div>
<label
htmlFor="title"
Expand Down
2 changes: 1 addition & 1 deletion init-mongo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

until mongo --eval "print(\"waited for connection\")"
Expand Down

0 comments on commit 89cbad9

Please sign in to comment.