ellisran 1 неделя назад
Родитель
Сommit
1d1bbc4af6
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/public/css/main.css

+ 2 - 1
app/public/css/main.css

@@ -2893,7 +2893,8 @@ button.gy-stat:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
 .gy-preview-table tbody tr:nth-child(even):not(.gy-year)>td:first-child{background:#38414a}
 .gy-screen::-webkit-scrollbar-thumb:horizontal,.gy-screen *::-webkit-scrollbar-thumb:horizontal{background:#626e7a}
 @supports selector(::-webkit-scrollbar){
-    .gy-screen,.gy-screen *{scrollbar-width:auto;scrollbar-color:auto}
+    /* Keep the custom scrollbar width when its thumb becomes visible. */
+    .gy-screen,.gy-screen *,.gy-screen.gy-scrolling,.gy-screen .gy-scrolling{scrollbar-width:auto;scrollbar-color:auto}
 }
 #gy-preview::-webkit-scrollbar:horizontal{height:10px}
 #gy-preview::-webkit-scrollbar-thumb:horizontal{background:#718393;border:2px solid #343a40;border-radius:6px}