diff --git a/Shogi.UI/Pages/Play/GameBoard/GameBoardPresentation.razor b/Shogi.UI/Pages/Play/GameBoard/GameBoardPresentation.razor index 516ff12..f5e578e 100644 --- a/Shogi.UI/Pages/Play/GameBoard/GameBoardPresentation.razor +++ b/Shogi.UI/Pages/Play/GameBoard/GameBoardPresentation.razor @@ -21,7 +21,6 @@ } } - }
diff --git a/Shogi.UI/Pages/Play/GameBoard/GameboardPresentation.razor.css b/Shogi.UI/Pages/Play/GameBoard/GameboardPresentation.razor.css index d43ed4a..d2f755a 100644 --- a/Shogi.UI/Pages/Play/GameBoard/GameboardPresentation.razor.css +++ b/Shogi.UI/Pages/Play/GameBoard/GameboardPresentation.razor.css @@ -108,9 +108,10 @@ background: linear-gradient(45deg, beige, white); display: grid; place-content: center; + min-height: 2rem; } -@media all and (max-width: 900px) { +@media all and (max-width: 750px) { .game-board { grid-template-areas: ". opponent-side-board" @@ -123,9 +124,14 @@ gap: 0.25rem; } + .board { + min-height: 100vmin; + } + .side-board { min-height: 2rem; } + .player-info { text-align: center; } diff --git a/Shogi.UI/wwwroot/css/themes.css b/Shogi.UI/wwwroot/css/themes.css index 56a5bb0..9dfc9f0 100644 --- a/Shogi.UI/wwwroot/css/themes.css +++ b/Shogi.UI/wwwroot/css/themes.css @@ -55,6 +55,10 @@ margin-bottom: var(--uniformBottomMargin); } + .PrimaryTheme p:last-child { + margin-bottom: 0; + } + .PrimaryTheme ul { padding: 0.3rem; margin: 0;