@@ -340,8 +422,8 @@ const Lobby = () => {
{avatarList?.map((avatar,index) => (
{
- changeAvatar(avatar);
- toggleProfilePop();
+ changeAvatar(avatar).then(r => toggleProfilePop());
+
}}/>
))}
@@ -355,23 +437,33 @@ const Lobby = () => {
>
Create Room
-
-
+ setRoomName(e.target.value)} />
+ setNumRounds(parseInt(e.target.value, 10))} />
setRoomTheme(selectedOption.value)}
/>
-
-
+
+
+
+
+
+
+ Here is some Guidelines....
+
+
+
);
diff --git a/src/styles/ui/Popup.scss b/src/styles/ui/Popup.scss
index dfc32ca..0732e27 100644
--- a/src/styles/ui/Popup.scss
+++ b/src/styles/ui/Popup.scss
@@ -23,7 +23,7 @@
}
}
.popup-content {
- height: 100%; // fill the height of the popup
+ height: 100%;
padding: 20px;
display: flex;
flex-direction: column;
diff --git a/src/styles/views/Lobby.scss b/src/styles/views/Lobby.scss
index 594c4e1..b3cf60d 100644
--- a/src/styles/views/Lobby.scss
+++ b/src/styles/views/Lobby.scss
@@ -341,11 +341,11 @@
&.input {
height: 35px;
padding-left: 15px;
- margin-left: -4px;
+ margin-left: 4px;
border: none;
border-radius: 0.75em;
- //margin-top: 20px;
- background: transparentize(white, 0.85);
+ margin-top: 5px;
+ background: #FFF3CF;
color: $textColor;
}