better layout in desktop
This commit is contained in:
parent
badc9565da
commit
863725914c
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="lobby">
|
||||
<div style="flex-grow: 4;">
|
||||
<h1>Lobby: {{ lobbyName }}</h1>
|
||||
<h3>Giocatori (tu sei {{username}})</h3>
|
||||
<div class="players-table">
|
||||
@ -19,6 +20,7 @@
|
||||
<deck/>
|
||||
<player :chooseCardFromPlayer="choose"/>
|
||||
</div>
|
||||
</div>
|
||||
<chat/>
|
||||
<transition name="bounce">
|
||||
<Chooser v-if="showChooser" text="Scegli il tuo personaggio" :cards="availableCharacters" :select="setCharacter"/>
|
||||
@ -197,4 +199,13 @@ export default {
|
||||
justify-content: space-evenly;
|
||||
margin-bottom: 12pt;
|
||||
}
|
||||
.lobby {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@media only screen and (min-width:1000px) {
|
||||
.lobby {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user