Ver Fonte

fix: better vol label style

Sven há 1 ano atrás
pai
commit
856989eab9
2 ficheiros alterados com 4 adições e 2 exclusões
  1. 3 2
      src/features/layout.css
  2. 1 0
      src/features/layout.ts

+ 3 - 2
src/features/layout.css

@@ -208,8 +208,9 @@ ytmusic-responsive-list-item-renderer .left-items {
 .bytm-vol-slider-label {
   opacity: 0.000001;
   position: absolute;
-  font-size: 14px;
-  padding: 8px 12px;
+  font-size: 15px;
+  font-weight: 500;
+  padding: 6px 8px;
   top: 50%;
   left: 0;
   transform: translate(calc(-50% - 10px), -50%);

+ 1 - 0
src/features/layout.ts

@@ -445,6 +445,7 @@ async function addQueueButtons(queueItem: HTMLElement) {
 
 // TODO: add to thumbnails in "songs" list on channel pages (/channel/$id)
 // TODO: add to thumbnails in playlists (/playlist?list=$id)
+// TODO:FIXME: only works for the first 7 items of each carousel shelf -> probably needs own mutation observer
 
 /** Adds anchors around elements and tweaks existing ones so songs are easier to open in a new tab */
 export function addAnchorImprovements() {