Add plugin to hide video player

This commit is contained in:
TC
2020-10-04 18:23:30 +02:00
parent f239ec3232
commit 855d8007a7
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,6 @@
const { injectCSS } = require("../utils");
const path = require("path");
module.exports = win => {
injectCSS(win.webContents, path.join(__dirname, "style.css"));
};

View File

@ -0,0 +1,11 @@
/* Hide the video player */
#main-panel {
display: none !important;
}
/* Make the side-panel full width */
.side-panel.ytmusic-player-page {
max-width: 100% !important;
width: 100% !important;
margin: 0 !important;
}