Skip to content

Commit

Permalink
Move control panel to left
Browse files Browse the repository at this point in the history
  • Loading branch information
mduffin95 committed Dec 24, 2023
1 parent c5ff9a4 commit 888bbd9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/views/GamePage.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<div>
<div class="control-panel">
<p v-if="isCurrentPlayer()">Your turn ({{ store.playerColor }})</p>
<p v-else>Current player: {{ store.model.currentPlayer }}</p>
<p>Phase: {{ store.model.phase }}</p>
Expand Down Expand Up @@ -204,14 +204,17 @@ onMounted(() => {
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
/* margin-top: 60px; */
}
.control-panel {
float: left;
}
.map-container {
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
width: 70%;
}
.map {
width: 100%;
Expand Down

0 comments on commit 888bbd9

Please sign in to comment.