0
0
Fork 0

Adjust styling to work with the grid to keep everything on screen.

This commit is contained in:
Oliver-Akins 2020-12-18 18:12:58 -07:00
parent 617ba7307c
commit 1941a8ba41

View file

@ -170,14 +170,19 @@ export default {
width: 95%; width: 95%;
} }
h2 {
margin: 12px 0;
}
.team-container { .team-container {
display: inline-block; grid-template-rows: 50px 1fr;
display: grid;
width: 45%; width: 45%;
} }
.answer-container { .answer-container {
justify-content: space-evenly;
flex-direction: column; flex-direction: column;
justify-content: stretch;
align-items: center; align-items: center;
display: flex; display: flex;
} }
@ -220,12 +225,12 @@ input[type="text"] {
border-radius: 7px; border-radius: 7px;
border-width: 2px; border-width: 2px;
font-size: larger; font-size: larger;
padding: 12px;
outline: none; outline: none;
margin: 7px 0; margin: 7px 0;
padding: 7px;
width: 90%; width: 90%;
} }
input[type="text"]:active, input[type="text"]:focus { input[type="text"]:focus {
border-color: var(--board-background-text); border-color: var(--board-background-text);
} }
input[type="text"].team-answer { input[type="text"].team-answer {