summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web_src/css/modules/switch.css8
1 files changed, 3 insertions, 5 deletions
diff --git a/web_src/css/modules/switch.css b/web_src/css/modules/switch.css
index 510b6a4bac..5250274d05 100644
--- a/web_src/css/modules/switch.css
+++ b/web_src/css/modules/switch.css
@@ -10,8 +10,10 @@
}
.switch .item {
- color: var(--color-text);
+ display: flex;
+ align-items: center;
padding: .5em 1.125em;
+ color: var(--color-text);
border-radius: var(--border-radius);
text-wrap: nowrap;
}
@@ -20,7 +22,3 @@
background: var(--color-active);
outline: 1px solid var(--color-input-border);
}
-
-.switch .item svg {
- vertical-align: sub;
-}