Max height to button, modal gets 50%.

This commit is contained in:
Bradley Shellnut 2022-09-01 00:17:11 -05:00
parent 207c93da28
commit bc59d64f7c
4 changed files with 13 additions and 7 deletions

View file

@ -49,7 +49,7 @@
display: grid; display: grid;
gap: 1.5rem; gap: 1.5rem;
position: absolute; position: absolute;
top: 35%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 101; z-index: 101;

View file

@ -73,12 +73,9 @@
background-color: var(--color-btn-primary-active); background-color: var(--color-btn-primary-active);
} }
/* :global(.icon) {
width: 24px;
height: 24px;
} */
.game-container { .game-container {
/* display: grid; */
/* grid-template-rows: minmax(25px, 50px) 1fr minmax(50px, 75px); */
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -107,5 +104,9 @@
padding: 0.25rem; padding: 0.25rem;
} }
} }
.btn {
max-height: 50px;
}
} }
</style> </style>

View file

@ -60,7 +60,7 @@
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
} }
@media (max-width: 650px) { @media (max-width: 550px) {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
} }

View file

@ -147,4 +147,9 @@
gap: 1.5rem; gap: 1.5rem;
margin: 1rem; margin: 1rem;
} }
.with-icon {
display: flex;
place-items: center;
}
</style> </style>