diff --git a/src/main/java/com/alterdekim/game/component/game/DialogButtonColor.java b/src/main/java/com/alterdekim/game/component/game/DialogButtonColor.java index 0347401..c115241 100644 --- a/src/main/java/com/alterdekim/game/component/game/DialogButtonColor.java +++ b/src/main/java/com/alterdekim/game/component/game/DialogButtonColor.java @@ -5,5 +5,6 @@ public enum DialogButtonColor { RED, BLUE, PURPLE, - YELLOW + YELLOW, + GREY } diff --git a/src/main/resources/static/css/game.css b/src/main/resources/static/css/game.css index 9aa6ee1..57d0d22 100644 --- a/src/main/resources/static/css/game.css +++ b/src/main/resources/static/css/game.css @@ -279,11 +279,10 @@ body { } .btn_string { + width: 100%; display: inline-flex; - padding-left:5px; } - #cell_descr { z-index:100; border-radius:10px; @@ -379,7 +378,7 @@ body { border-radius: 5px; font-size: 12px; color: white; - width: 220px; + width: 100%; text-align: center; padding: 6px 4px; margin: 6px; diff --git a/src/main/resources/static/javascript/game.js b/src/main/resources/static/javascript/game.js index e4930b0..7c47aba 100644 --- a/src/main/resources/static/javascript/game.js +++ b/src/main/resources/static/javascript/game.js @@ -177,12 +177,11 @@ function showDialog(body) { let html_btns = ''; for(let i = 0; i < btns.length; i++) { let btn = btns[i]; - html_btns += '