1
0
Эх сурвалжийг харах

fix: watermark position for new page design

Sv443 1 жил өмнө
parent
commit
770496b25d

+ 2 - 8
dist/BetterYTM.user.js

@@ -480,7 +480,7 @@ const scriptInfo = Object.freeze({
     name: GM.info.script.name,
     version: GM.info.script.version,
     namespace: GM.info.script.namespace,
-    lastCommit: "55c43a2", // assert as generic string instead of union
+    lastCommit: "7cf476f", // assert as generic string instead of union
 });
 
 
@@ -2224,7 +2224,7 @@ function onDomLoad() {
   font-size: 10px;
   display: inline-block;
   position: absolute;
-  left: 45px;
+  left: 97px;
   top: 46px;
   z-index: 10;
   color: white;
@@ -2232,12 +2232,6 @@ function onDomLoad() {
   cursor: pointer;
 }
 
-@media(max-width: 615px) {
-  #betterytm-watermark {
-    display: none;
-  }
-}
-
 #betterytm-watermark:hover {
   text-decoration: underline;
 }

+ 1 - 7
src/features/layout.css

@@ -33,7 +33,7 @@
   font-size: 10px;
   display: inline-block;
   position: absolute;
-  left: 45px;
+  left: 97px;
   top: 46px;
   z-index: 10;
   color: white;
@@ -41,12 +41,6 @@
   cursor: pointer;
 }
 
-@media(max-width: 615px) {
-  #betterytm-watermark {
-    display: none;
-  }
-}
-
 #betterytm-watermark:hover {
   text-decoration: underline;
 }