Explorar el Código

fix: grrrr ok now

Sv443 hace 1 año
padre
commit
066bebb322
Se han modificado 3 ficheros con 25 adiciones y 49 borrados
  1. 13 25
      dist/BetterYTM.user.js
  2. 12 4
      src/dialogs/dialogs.css
  3. 0 20
      src/menu/menu_old.css

+ 13 - 25
dist/BetterYTM.user.js

@@ -237,7 +237,7 @@ var LogLevel;
 })(LogLevel || (LogLevel = {}));const modeRaw = "development";
 const branchRaw = "develop";
 const hostRaw = "github";
-const buildNumberRaw = "52f4c66";
+const buildNumberRaw = "114ce58";
 /** The mode in which the script was built (production or development) */
 const mode = (modeRaw.match(/^#{{.+}}$/) ? "production" : modeRaw);
 /** The branch to use in various URLs that point to the GitHub repo */
@@ -4758,26 +4758,6 @@ function insertGlobalStyle() {
   --bytm-menu-border-radius: 10px;
 }
 
-#bytm-cfg-menu-bg {
-  --bytm-menu-height-max: 750px;
-  --bytm-menu-width-max: 1000px;
-}
-
-#bytm-changelog-menu-bg {
-  --bytm-menu-height-max: 800px;
-  --bytm-menu-width-max: 800px;
-}
-
-#bytm-export-menu-bg, #bytm-import-menu-bg {
-  --bytm-menu-height-max: 500px;
-  --bytm-menu-width-max: 600px;
-}
-
-#bytm-feat-help-menu-bg {
-  --bytm-menu-height-max: 400px;
-  --bytm-menu-width-max: 600px;
-}
-
 .bytm-menu-bg {
   display: block;
   position: fixed;
@@ -5930,22 +5910,30 @@ ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-li
   visibility: visible !important;
 }
 
-#bytm-cfg-dialog-bg {
+#bytm-cfg-dialog-bg,
+#bytm-cfg-menu-bg
+{
   --bytm-dialog-height-max: 900px;
   --bytm-dialog-width-max: 1000px;
 }
 
-#bytm-changelog-dialog-bg {
+#bytm-changelog-dialog-bg,
+#bytm-changelog-menu-bg
+{
   --bytm-dialog-height-max: 800px;
   --bytm-dialog-width-max: 800px;
 }
 
-#bytm-export-dialog-bg, #bytm-import-dialog-bg {
+#bytm-export-dialog-bg, #bytm-import-dialog-bg,
+#bytm-export-menu-bg, #bytm-import-menu-bg
+{
   --bytm-dialog-height-max: 500px;
   --bytm-dialog-width-max: 600px;
 }
 
-#bytm-feat-help-dialog-bg {
+#bytm-feat-help-dialog-bg,
+#bytm-feat-help-menu-bg
+{
   --bytm-dialog-height-max: 400px;
   --bytm-dialog-width-max: 600px;
 }

+ 12 - 4
src/dialogs/dialogs.css

@@ -1,19 +1,27 @@
-#bytm-cfg-dialog-bg {
+#bytm-cfg-dialog-bg,
+#bytm-cfg-menu-bg
+{
   --bytm-dialog-height-max: 900px;
   --bytm-dialog-width-max: 1000px;
 }
 
-#bytm-changelog-dialog-bg {
+#bytm-changelog-dialog-bg,
+#bytm-changelog-menu-bg
+{
   --bytm-dialog-height-max: 800px;
   --bytm-dialog-width-max: 800px;
 }
 
-#bytm-export-dialog-bg, #bytm-import-dialog-bg {
+#bytm-export-dialog-bg, #bytm-import-dialog-bg,
+#bytm-export-menu-bg, #bytm-import-menu-bg
+{
   --bytm-dialog-height-max: 500px;
   --bytm-dialog-width-max: 600px;
 }
 
-#bytm-feat-help-dialog-bg {
+#bytm-feat-help-dialog-bg,
+#bytm-feat-help-menu-bg
+{
   --bytm-dialog-height-max: 400px;
   --bytm-dialog-width-max: 600px;
 }

+ 0 - 20
src/menu/menu_old.css

@@ -6,26 +6,6 @@
   --bytm-menu-border-radius: 10px;
 }
 
-#bytm-cfg-menu-bg {
-  --bytm-menu-height-max: 750px;
-  --bytm-menu-width-max: 1000px;
-}
-
-#bytm-changelog-menu-bg {
-  --bytm-menu-height-max: 800px;
-  --bytm-menu-width-max: 800px;
-}
-
-#bytm-export-menu-bg, #bytm-import-menu-bg {
-  --bytm-menu-height-max: 500px;
-  --bytm-menu-width-max: 600px;
-}
-
-#bytm-feat-help-menu-bg {
-  --bytm-menu-height-max: 400px;
-  --bytm-menu-width-max: 600px;
-}
-
 .bytm-menu-bg {
   display: block;
   position: fixed;