Mostly design update +
Some checks failed
Build Mau & Deploy Mau / build (push) Failing after 1m23s
Build Mau & Deploy Mau / deploy (push) Has been skipped

- Chat cleaning
- Player hand size visibility
This commit is contained in:
DTieman
2024-04-21 16:28:55 +02:00
parent d907a56483
commit 4959e197bb
13 changed files with 222 additions and 98 deletions

View File

@@ -1,4 +1,6 @@
@import "button";
@import "card";
@import "chat";
@import "hand";
@import "game";
@import "deck";

View File

@@ -0,0 +1,28 @@
.chat {
&__list {
overflow-y: hidden;
word-wrap: break-word;
list-style-type: none;
padding: 0;
margin: 1rem 0;
&:hover {
overflow-y: scroll;
}
}
&-form {
display: flex;
flex-direction: column;
&__input {
background-color: #2e2e2e;
border: none;
color: #fff;
font-size: 1rem;
padding: 0.5rem;
border-radius: 0.5rem;
}
}
}

View File

@@ -0,0 +1,25 @@
.game {
height: 100%;
display: grid;
grid-template-rows: 1fr 1fr 1fr;
place-items: center;
&__players {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-around;
flex-direction: row;
width: 100%;
&__info {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
}
}

View File

@@ -1,8 +1,7 @@
.hand {
display: flex;
flex-direction: row;
//justify-content: center;
flex-flow: nowrap !important;
max-width: 100%;
flex-flow: row nowrap !important;
overflow-x: scroll;
padding: 0.5rem;
gap: 0.5rem;