From 547518af293d7c2879746b490e64af05ef8fb8cc Mon Sep 17 00:00:00 2001 From: "Kubo, Ryosuke" Date: Thu, 22 Jun 2023 22:51:09 +0900 Subject: [PATCH] Fix piece image layout --- src/renderer/view/primitive/BoardView.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/renderer/view/primitive/BoardView.vue b/src/renderer/view/primitive/BoardView.vue index 6cfb1417..7b1bbd7f 100644 --- a/src/renderer/view/primitive/BoardView.vue +++ b/src/renderer/view/primitive/BoardView.vue @@ -41,7 +41,7 @@ :style="square.backgroundStyle" />
- +
{{ label.character }} @@ -70,7 +70,7 @@ :key="piece.id" :style="piece.style" > - +
- +
- +
- +
{{ nextMoveLabel }}
@@ -508,4 +511,8 @@ const whitePlayerTimeSeverity = computed(() => { justify-content: center; align-items: center; } +.piece-image { + max-width: 100%; + max-height: 100%; +}