Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ImprovedTube/YouTube
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Jan 27, 2021
2 parents 2e7663f + 85e800e commit 9a5a4ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions content-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2540,6 +2540,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])
{
Expand Down
6 changes: 2 additions & 4 deletions popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,7 @@ html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='

html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder__label
{
position: absolute;
bottom: 0;

text-align: center;
pointer-events: none;
}

Expand Down Expand Up @@ -1992,4 +1990,4 @@ html[it-improvedtube-home='list'] .satus-main .satus-button.satus-button--ad
.satus-button--ad:hover:after
{
left: 100%;
}
}
2 changes: 2 additions & 0 deletions youtube-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,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;
Expand Down

0 comments on commit 9a5a4ba

Please sign in to comment.