Add an option to shrink thumbnails

This commit is contained in:
Lawrence Hook
2024-12-14 11:19:29 -05:00
parent bb5f4331ef
commit e9b2af8f87
2 changed files with 16 additions and 0 deletions
+9
View File
@@ -166,6 +166,15 @@ html[global_enable="true"][blur_video_thumbnails="true"] .video-thumbnail-img {
}
/* Shrink thumbnails */
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-thumbnail,
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-playlist-thumbnail,
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-channel-renderer #avatar-section,
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-movie-renderer .thumbnail-container {
max-width: 0 !important;
}
/* Subs page */
html[global_enable="true"] ytd-rich-grid-row[empty="false"],
html[global_enable="true"] ytd-rich-grid-row[empty="false"] #contents {
+7
View File
@@ -27,6 +27,12 @@ const SECTIONS = [
id: "blur_video_thumbnails",
defaultValue: false,
},
{
name: "Shrink video thumbnails",
tags: "Homepage, Subscriptions, Video Player, Search",
id: "shrink_video_thumbnails",
defaultValue: false,
},
{
name: "Disable play on hover",
id: "disable_play_on_hover",
@@ -688,6 +694,7 @@ const idToShortId = {
"grayscale_mode": '81',
"lock_code": '82',
"remove_clip_button": '83',
"shrink_video_thumbnails": '84',
};