From 0ba07cba51071575a1260bb42c81f67e05727db7 Mon Sep 17 00:00:00 2001 From: mightysimran Date: Fri, 20 Oct 2023 18:05:08 +0530 Subject: [PATCH 1/2] fix(firefox build): misalignment and redundant spacing --- src/firefox/css/main.css | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/firefox/css/main.css b/src/firefox/css/main.css index cebe8af..1af64c8 100644 --- a/src/firefox/css/main.css +++ b/src/firefox/css/main.css @@ -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 */ From 805059c9d7250a2509f84d2a63d74ec8d0cebb69 Mon Sep 17 00:00:00 2001 From: mightysimran Date: Fri, 20 Oct 2023 18:06:03 +0530 Subject: [PATCH 2/2] fix(chrome build): misalignment and redundant spacing --- src/chrome/css/main.css | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/chrome/css/main.css b/src/chrome/css/main.css index cebe8af..1af64c8 100644 --- a/src/chrome/css/main.css +++ b/src/chrome/css/main.css @@ -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 */