If you're looking to enhance your browsing experience, I suggest trying out Stylus. It's an extension available for Chrome, Firefox, and Opera that allows you to inject custom CSS into web pages. Here is a simple CSS code snippet that can modify the layout of a webpage:
#columns #secondary {
display: none;
}
#columns #primary {
display: block;
padding-left: 24px;
}
#columns #primary > div {
display: block;
position: relative;
}
#columns #primary > div > * {
width: var(--ytd-watch-flexy-player-width);
}
#columns #primary > div > ytd-comments {
position: absolute;
top: -12px;
left: calc(100% + 24px);
max-width: 45vw;
}
[edit]
I must say, the new look after applying these styles is quite refreshing! For those who prefer to keep the #secondary
"Up Next" column visible, you can use this modified style:
#columns #primary {
display: block;
padding-left: 24px;
}
#columns #primary > div {
display: block;
position: relative;
}
#columns #primary > div > * {
width: var(--ytd-watch-flexy-player-width);
}
#columns #primary > div > ytd-comments {
position: absolute;
top: -12px;
left: calc(100% + 24px);
max-width: calc(100vw - var(--ytd-watch-flexy-player-width) - (3 * 24px) - 400px);
}
#columns #secondary {
width: 400px; /* Adjust based on preferences */
}