From 7d0593515f93a8980e58fffae14e30683fa77cca Mon Sep 17 00:00:00 2001 From: videogame hacker Date: Sat, 10 Jul 2021 17:18:17 +0100 Subject: [PATCH] Improve panel styling for multiple themes --- src/panel/panel.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/panel/panel.css b/src/panel/panel.css index 25984cb..13b23f9 100644 --- a/src/panel/panel.css +++ b/src/panel/panel.css @@ -72,10 +72,19 @@ button.copied { color: var(--bg); } -li { - display: flex; - flex-direction: row; - align-items: center; +#themes { + display: table; + border-spacing: 1em; + border-collapse: separate; +} + +#themes li { + display: table-row; +} + +#themes li > * { + display: table-cell; + vertical-align: middle; } #shutdown-form {