diff --git a/content-styles.css b/content-styles.css index 72b6436e3..a10521212 100644 --- a/content-styles.css +++ b/content-styles.css @@ -2539,6 +2539,7 @@ html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedu -webkit-filter: grayscale(1) brightness(4); filter: grayscale(1) brightness(4); } +} [it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) { diff --git a/youtube-scripts.js b/youtube-scripts.js index 04679f1b2..e56ac9bc2 100644 --- a/youtube-scripts.js +++ b/youtube-scripts.js @@ -1732,6 +1732,8 @@ ImprovedTube.mini_player__resize_mouseUp = function(event) { ImprovedTube.mini_player__width = bcr.width; ImprovedTube.mini_player__height = bcr.height; + window.dispatchEvent(new Event('resize')); + var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; strg.width = ImprovedTube.mini_player__width;