diff --git a/src/chess_pressure/static/index.html b/src/chess_pressure/static/index.html index b9a210a..d196d6f 100644 --- a/src/chess_pressure/static/index.html +++ b/src/chess_pressure/static/index.html @@ -26,11 +26,11 @@
- - + + - - + +
diff --git a/src/chess_pressure/static/style.css b/src/chess_pressure/static/style.css index a8765ba..f33696d 100644 --- a/src/chess_pressure/static/style.css +++ b/src/chess_pressure/static/style.css @@ -127,21 +127,28 @@ main { .playback-buttons { display: flex; gap: 0.3rem; - justify-content: center; + width: 100%; } .playback-buttons button { + flex: 1; background: var(--bg2); border: 1px solid var(--border); color: var(--fg); - padding: 0.4rem 0.8rem; + padding: 0.4rem 0.5rem; border-radius: 4px; cursor: pointer; - font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; } .playback-buttons button:hover { background: var(--move-active); } +#btn-start, #btn-end { + flex: 0.65; +} +#btn-start svg, #btn-end svg { + width: 13px; + height: 13px; +} .pressure-mode { display: flex;