Skip to content

Commit

Permalink
update room creation popup font size
Browse files Browse the repository at this point in the history
  • Loading branch information
petertheprocess committed May 18, 2024
1 parent fa794bf commit 2b46e5e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/views/Gameroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ const Gameroom = () => {
//console.log("upload audio");
throttledUploadAudio();
}
}>share your audio</div>
}>Share Audio</div>
)}
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/views/Lobby.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ const Lobby = () => {
<div className="label">Room Name: </div>
<input
className="room-creation-popup room-name-input"
style={{ width: "13rem" }}
// style={{ width: "13em" }}
type="text"
placeholder="Max. 10 chars"
value={roomName}
Expand Down
32 changes: 17 additions & 15 deletions src/styles/views/Lobby.scss
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ Button {
.room-creation-popup {
//height: 60%;
&.content {
font-size: 24px;
font-size: 50px;
display: flex;
flex-direction: column;
flex-grow: 1;
Expand All @@ -517,17 +517,18 @@ Button {
flex-direction: column;
justify-content: center;
align-items: center;
width: 13em;
// width: 100%;
.label {
flex-grow: 0.5;
font-size: 0.6em;
align-self: flex-start;
}

input {
font-size: 1em;
height: 1.2em;
max-width: 60vw;
width: 13em;
// max-width: 60vw;
padding-left: 1px;
margin-left: 4px;
border: 1px solid black;
Expand All @@ -538,15 +539,16 @@ Button {
}
}
.custom-number-input {
width: 13rem;
// width: 13em;
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 13em;
button {
width: 30px;
height: 30px;
font-size: 18px;
height: 1.2em;
width: 1.8em;
font-size: 1em;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -561,7 +563,7 @@ Button {
}
}
input {
width: 80%;
flex-grow: 1;
text-align: center;
height: 1.2em;
&::-webkit-outer-spin-button,
Expand All @@ -576,12 +578,12 @@ Button {
display: flex;
align-items: center;
justify-items: center;
font-size: 0.8em;
width: 13rem;
max-width: 60vw;
font-size: 1em;
width: 13em;
// max-width: 60vw;
height: 1.2em;
margin-top: 10px;
margin-bottom: 10px;
margin-top: 0.3em;
margin-bottom: 0.3em;
//margin-top: 20px;
// margin-bottom: 40px;
select {
Expand All @@ -600,14 +602,14 @@ Button {
}
}
}
&.btn-container {
.popup-button-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-end;
Button {
height: auto;
font-size: 1em;
font-size: 30px;
padding: 0.6em;
margin: 0 10px;
color: white;
Expand Down

0 comments on commit 2b46e5e

Please sign in to comment.