Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions js&css/extension/www.youtube.com/appearance/sidebar/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,23 @@ html[it-livechat='collapsed']
cursor: pointer;
}

/* Ensure live chat is fully visible and scrollable in theater mode */
html[it-forced-theater-mode='true'][data-page-type='video'] ytd-watch-flexy #secondary,
html[it-forced-theater-mode='true'][data-page-type='video'] ytd-watch-flexy #secondary-inner,
html[it-forced-theater-mode='true'][data-page-type='video'] ytd-watch-flexy #chat-container,
html[it-forced-theater-mode='true'][data-page-type='video'] ytd-watch-flexy ytd-live-chat-frame#chat {
/* Dynamic viewport height works better on mobile */
height: calc(100dvh - max(56px, 7vh)) !important;
max-height: calc(100dvh - max(56px, 7vh)) !important;

/* Prevent horizontal scrollbar surprises */
overflow-x: hidden !important;
}

Comment thread
Jeetgajeraa marked this conversation as resolved.
Outdated
/* Only the actual chat should scroll */
html[it-forced-theater-mode='true'][data-page-type='video'] ytd-watch-flexy ytd-live-chat-frame#chat {
overflow-y: auto !important;
}

/*--------------------------------------------------------------
# HIDE PLAYLIST
Expand Down
1 change: 1 addition & 0 deletions js&css/web-accessible/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ document.addEventListener('it-message-from-extension', function () {
case 'playerIncreaseDecreaseSpeedButtons':
if (ImprovedTube.storage.player_increase_decrease_speed_buttons === false) {
ImprovedTube.elements.buttons['it-increase-speed-button']?.remove();
ImprovedTube.elements.buttons['it-1x-speed-button']?.remove();
ImprovedTube.elements.buttons['it-decrease-speed-button']?.remove();
}
break
Expand Down
Loading