Procházet zdrojové kódy

LibWeb: Fix bug where input range thumb is not centered

Bastiaan van der Plaat před 1 rokem
rodič
revize
5ba8a5ba13
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 1 - 0
Userland/Libraries/LibWeb/CSS/Default.css

@@ -85,6 +85,7 @@ input[type=range]::-webkit-slider-thumb {
     margin-top: -6px;
     width: 16px;
     height: 16px;
+    transform: translateX(-50%);
     border-radius: 50%;
     background-color: hsl(0, 0%, 96%);
     outline: 1px solid rgba(0, 0, 0, 0.5);