Fixes the player container size, now fitting the full video and its icons
(Important! Check out the Notes section)
AuthorRubiloy
LicenseMIT
Categoryyoutube.com
Created
Updated
Size725 B
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Fixes the player container size, now fitting the full video and its icons
(Important! Check out the Notes section)
Mostly works with 16:9 or similar aspect ratios, some might break.
Changing the page scale or having a different scale on Windows resolution other than 125% will break as well. Feel free to change the fixed values on my code to fit your monitor.
/* ==UserStyle==
@name Player Container Fix
@version 20240412.10.28
@namespace https://userstyles.world/user/Rubiloy
@description Fixes the player container size, now fitting the full video and its icons
@author Rubiloy
@license MIT
==/UserStyle== */
@-moz-document domain("youtube.com") {
ytd-watch-flexy {
#columns #primary.ytd-watch-flexy{
max-width: 914px;
width: 914px;
}
#primary #player-container-outer.ytd-watch-flexy {
min-width: 914px;
}
}
ytd-watch-next-secondary-results-renderer {
#video-title.ytd-rich-grid-media {
width: 200px;
word-wrap: break-word;
}
}
}