Use minmax on draft grid

This commit is contained in:
Hamcha 2019-09-07 18:40:45 +02:00
parent 8b8f206b68
commit f7e0403619
Signed by: hamcha
GPG Key ID: 44AD3571EB09A39E
1 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,12 @@
<section class="playerlist">
<b>Players</b>
</section>
<section class="pool"><b>Card pool</b></section>
<section class="cardlist"><b>Cards</b></section>
<section class="pool">
<b>Card pool</b>
</section>
<section class="cardlist">
<b>Cards</b>
</section>
</section>
</template>
@ -13,7 +17,7 @@
display: grid;
height: 100vh;
grid-gap: 10px;
grid-template-columns: 200px 1fr 250px;
grid-template-columns: minmax(200px, 1fr) 3fr minmax(250px, 1fr);
section {
grid-row: 1;
border: 1px solid #555;