Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #43 from mightysimran/fix/misalignment-and-redunda…
Browse files Browse the repository at this point in the history
…nt-spacing

fix: redundant spacing on YouTube's homepage and subscriptions, and content misalignment in watch later/ playlists section
  • Loading branch information
proffapt committed Oct 20, 2023
2 parents 87a5027 + 805059c commit 6abc446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
15 changes: 1 addition & 14 deletions src/chrome/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,8 @@ html[global_enable="true"][remove_leftbar="true"]
}

/* Maintains the proper arrangement of the contents of watch later and playlist section */
html[global_enable="true"][remove_leftbar="true"]
#contents[class="style-scope ytd-playlist-video-list-renderer"] {
margin-left: 240px;
}

html[global_enable="true"][remove_leftbar="true"]
#sort-filter-menu[class="style-scope ytd-playlist-video-list-renderer"] {
margin-left: 240px;
}

/* Maintains the proper alignment of alertboxes in watch later and playlist section whenever they occur; they do not occur everytime */
html[global_enable="true"][remove_leftbar="true"]
ytd-browse > div#alerts > ytd-alert-with-button-renderer {
html[global_enable="true"][remove_leftbar="true"] ytd-browse[page-subtype="playlist"]{
margin-left: 240px;
width: 70%;
}

/* Centers the contents on the screen after video comments are removed */
Expand Down
15 changes: 1 addition & 14 deletions src/firefox/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,8 @@ html[global_enable="true"][remove_leftbar="true"]
}

/* Maintains the proper arrangement of the contents of watch later and playlist section */
html[global_enable="true"][remove_leftbar="true"]
#contents[class="style-scope ytd-playlist-video-list-renderer"] {
margin-left: 240px;
}

html[global_enable="true"][remove_leftbar="true"]
#sort-filter-menu[class="style-scope ytd-playlist-video-list-renderer"] {
margin-left: 240px;
}

/* Maintains the proper alignment of alertboxes in watch later and playlist section whenever they occur; they do not occur everytime */
html[global_enable="true"][remove_leftbar="true"]
ytd-browse > div#alerts > ytd-alert-with-button-renderer {
html[global_enable="true"][remove_leftbar="true"] ytd-browse[page-subtype="playlist"]{
margin-left: 240px;
width: 70%;
}

/* Centers the contents on the screen after video comments are removed */
Expand Down

0 comments on commit 6abc446

Please sign in to comment.