diff --git a/templates/repo/graph.tmpl b/templates/repo/graph.tmpl
index 04b056cc60..739c5954b1 100644
--- a/templates/repo/graph.tmpl
+++ b/templates/repo/graph.tmpl
@@ -46,9 +46,15 @@
-
diff --git a/web_src/css/modules/switch.css b/web_src/css/modules/switch.css
index 5250274d05..265c2ed45a 100644
--- a/web_src/css/modules/switch.css
+++ b/web_src/css/modules/switch.css
@@ -22,3 +22,11 @@
background: var(--color-active);
outline: 1px solid var(--color-input-border);
}
+
+.switch .item svg {
+ vertical-align: sub;
+}
+
+.switch button.item {
+ background: transparent;
+}