Skip to content

Commit

Permalink
🐛 (viewer) fix local play / slightly adjust final condition layout
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Aug 14, 2021
1 parent d16fe94 commit 293ef53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 1 addition & 5 deletions viewer/src/components/Game.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default class Game extends Vue {
get canPlay() {
return (
!this.ended && (this.sessionPlayer === this.engine.players[this.player])
!this.ended && (!this.$store.state.gaiaViewer.player || this.sessionPlayer === this.engine.players[this.player])
);
}
Expand Down Expand Up @@ -376,10 +376,6 @@ export default class Game extends Vue {
}
}
.final-store-table th > span > span,
.final-store-table th > div {
display: block;
}
.current-player {
& > svg {
max-width: 50px;
Expand Down
8 changes: 8 additions & 0 deletions viewer/src/components/Rules.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,12 @@ export default class Rules extends Vue {
footer.rules .btn-secondary {
display: none !important;
}
.final-store-table th {
padding: 0 !important;
}
.final-store-table th > span,
.final-store-table th > span > span,
.final-store-table th > div {
display: block;
}
</style>

0 comments on commit 293ef53

Please sign in to comment.