Skip to content

Commit

Permalink
Youtube Tweaks 1.2.13 release
Browse files Browse the repository at this point in the history
## v1.2.13 ... (19 MARCH 23)

### Additions:
`+` Add code to fix the blank spot on the home page when an adblocker is active.
  • Loading branch information
JourneyOver committed Mar 19, 2023
1 parent 18cfd8a commit cec0745
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# YouTube Tweaks Changelog

## v1.2.13 ... (19 MARCH 23)

### Additions:
`+` Add code to fix the blank spot on the home page when an adblocker is active.

## v1.2.12 ... (29 AUGUST 22)

### Fixes:
Expand Down
20 changes: 19 additions & 1 deletion css/theme/theme.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#copyright div::after {
white-space: pre;
content: "\aYoutube Tweaks - Version 1.2.12";
content: "\aYoutube Tweaks - Version 1.2.13";
}

::-webkit-scrollbar {
Expand Down Expand Up @@ -36,4 +36,22 @@ ytd-video-renderer[use-prominent-thumbs] #channel-info.ytd-video-renderer {

ytd-search[center-results] ytd-two-column-search-results-renderer.ytd-search {
padding-right: 150px;
}

[page-subtype=home] ytd-rich-grid-renderer #contents ytd-rich-grid-row {
display: contents;
}
[page-subtype=home] ytd-rich-grid-renderer #contents ytd-rich-grid-row #contents {
display: contents;
}
[page-subtype=home] ytd-rich-grid-renderer #contents #contents > ytd-rich-item-renderer {
margin: 0 4px 24px !important;
}

ytd-rich-section-renderer {
display: none;
}

.ghost-grid.ytd-ghost-grid-renderer {
display: none;
}
2 changes: 1 addition & 1 deletion css/usercss-template.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name Youtube Tweaks
@version 1.2.12
@version 1.2.13
@description Expands videos to fill all free space inside browser window.
@namespace https://github.com/StylusThemes
@author StylusThemes <https://github.com/StylusThemes>
Expand Down
2 changes: 1 addition & 1 deletion sass/partials/_version.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
div {
&::after {
white-space: pre;
content: "\A Youtube Tweaks - Version 1.2.12";
content: "\A Youtube Tweaks - Version 1.2.13";
}
}
}
27 changes: 27 additions & 0 deletions sass/partials/theme/_fix-blankspot-from-adblock.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[page-subtype="home"] {
ytd-rich-grid-renderer {
#contents {
ytd-rich-grid-row {
display: contents;

#contents {
display: contents;
}
}

#contents {
> ytd-rich-item-renderer {
margin: 0 4px 24px !important;
}
}
}
}
}

ytd-rich-section-renderer {
display: none;
}

.ghost-grid.ytd-ghost-grid-renderer {
display: none;
}
1 change: 1 addition & 0 deletions sass/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
// theme
@import 'partials/theme/scrollbar';
@import 'partials/theme/small-thumbnails-on-search';
@import 'partials/theme/fix-blankspot-from-adblock';
24 changes: 22 additions & 2 deletions style.user.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name Youtube Tweaks
@version 1.2.12
@version 1.2.13
@description Expands videos to fill all free space inside browser window.
@namespace https://github.com/StylusThemes
@author StylusThemes <https://github.com/StylusThemes>
Expand Down Expand Up @@ -61,7 +61,7 @@ RemovePTSFBY "Yes" <<<EOT
@-moz-document domain("youtube.com") {
#copyright div::after {
white-space: pre;
content: "\aYoutube Tweaks - Version 1.2.12";
content: "\aYoutube Tweaks - Version 1.2.13";
}

::-webkit-scrollbar {
Expand Down Expand Up @@ -99,6 +99,26 @@ RemovePTSFBY "Yes" <<<EOT
padding-right: 150px;
}

[page-subtype=home] ytd-rich-grid-renderer #contents ytd-rich-grid-row {
display: contents;
}

[page-subtype=home] ytd-rich-grid-renderer #contents ytd-rich-grid-row #contents {
display: contents;
}

[page-subtype=home] ytd-rich-grid-renderer #contents #contents>ytd-rich-item-renderer {
margin: 0 4px 24px !important;
}

ytd-rich-section-renderer {
display: none;
}

.ghost-grid.ytd-ghost-grid-renderer {
display: none;
}

/*[[WatchedBadge]]*/
/*[[WVC]]*/
/*[[FadePPComp]]*/
Expand Down

0 comments on commit cec0745

Please sign in to comment.