Quellcode durchsuchen

fix(gui): clock padding moving other elements

KernelDeimos vor 2 Monaten
Ursprung
Commit
8edcf7575d
1 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen
  1. 8 1
      src/gui/src/css/style.css

+ 8 - 1
src/gui/src/css/style.css

@@ -2401,7 +2401,14 @@ label {
     color: white;
     font-size: 13px;
     background-color: #00000056;
-    padding: 5px;
+    
+    /* prevent clock from moving other taskbar items */
+    height: 22px;
+    line-height: 22px;
+
+    /* line-height above handles vertical padding */
+    padding: 0 5px;
+
     border-radius: 5px;
     opacity: 0.8;
 }