From d436dfd7b59b2608cd007a961bebb43138f83e37 Mon Sep 17 00:00:00 2001 From: Jesse McDonald Date: Mon, 6 Apr 2020 02:20:11 -0500 Subject: [PATCH] limit width of game select widget to fit within page --- css/chess.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/css/chess.css b/css/chess.css index 65ff078..2ce5893 100644 --- a/css/chess.css +++ b/css/chess.css @@ -125,6 +125,24 @@ button:disabled .silhouette { white-space: nowrap; } +#cb_game { + display: flex; + flex-flow: row nowrap; + align-items: baseline; + padding-right: 2em; +} + +#cb_game label { + flex: 0 0 auto; +} + +#cb_select_game { + width: 100%; + margin-left: 0.2em; + margin-right: auto; + flex: 0 1 auto; +} + #cb_undo { margin-left: auto; margin-right: 0.1em;