Fix: Wraps player stats and remove bottom margin for active player
release-tag / release-image (push) Successful in 27s
release-tag / release-image (push) Successful in 27s
Mitigates #7
This commit is contained in:
@@ -88,11 +88,15 @@ const prepare_champion = (target: Card) => run_effect(CardEffects.PREPARE, targe
|
||||
</template>
|
||||
<div id="player_banner">
|
||||
<div id="player_info">
|
||||
<img v-if="props.player.image" :src="props.player.image">
|
||||
<b>{{ props.player.username }}</b>
|
||||
|
||||
|
||||
</div>
|
||||
<div id="player_stats">
|
||||
<img v-if="props.player.image" :src="props.player.image">
|
||||
<b>{{ props.player.username }}</b>
|
||||
<PlayerStats :player="props.player"></PlayerStats>
|
||||
|
||||
|
||||
</div>
|
||||
<div v-if="props.player.ready && !goStore.current_game?.started">READY</div>
|
||||
</div>
|
||||
@@ -201,10 +205,6 @@ const prepare_champion = (target: Card) => run_effect(CardEffects.PREPARE, targe
|
||||
transition: all 1s;
|
||||
}
|
||||
|
||||
.player.turn {
|
||||
margin-bottom: 75px;
|
||||
}
|
||||
|
||||
.player.discard_unwrapped {
|
||||
grid-template-areas:
|
||||
"player_stats player_stats"
|
||||
@@ -240,7 +240,7 @@ const prepare_champion = (target: Card) => run_effect(CardEffects.PREPARE, targe
|
||||
#player_stats {
|
||||
display: flex;
|
||||
grid-area: player_stats;
|
||||
flex-direction: row-reverse;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user