Przeglądaj źródła

fix: menu options label vertical align

Sv443 1 rok temu
rodzic
commit
fb6226710f
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/features/menu/menu_old.ts

+ 2 - 1
src/features/menu/menu_old.ts

@@ -163,7 +163,8 @@ export async function addMenu() {
       const inputElemId = `betterytm-ftconf-${key}-input`;
 
       const ctrlElem = document.createElement("span");
-      ctrlElem.style.display = "inline-block";
+      ctrlElem.style.display = "inline-flex";
+      ctrlElem.style.alignItems = "center";
       ctrlElem.style.whiteSpace = "nowrap";
 
       const inputElem = document.createElement("input");