Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube committed Dec 31, 2023
1 parent e4c646c commit 62bd7c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion js&css/extension/www.youtube.com/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ html {overflow-x: hidden !important; }
/* Fix to tame Youtube's page-load / make it more calm - the player wont annoyingly slide in from the right anymore */
/* previously also: html[it-transcript='true'] {overflow-x: hidden !important; }*/
@-moz-document url-prefix() { overflow-x: visible !important; } /* REMOVE ME SOON https://github.com/code-charity/youtube/issues/1649
@media screen and (max-width: 1023px) {
div#primary ytd-live-chat-frame { width: auto !important; }
html[it-pathname*="/shorts/"] #header.style-scope ytd-engagement-panel-title-header-renderer {max-width: 40vw !important;) }
/* or maybe something like : html[it-pathname*="/shorts/"] #header.style-scope ytd-engagement-panel-title-header-renderer "visibility-button" */ }

/*------------------------------------------------------------------------------
>>> TABLE OF CONTENTS:
--------------------------------------------------------------------------------
Expand Down Expand Up @@ -1985,4 +1991,4 @@ html[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=
--yt-lightsource-section4-color: rgba(0, 0, 0, 0.3) !important;
--yt-lightsource-primary-title-color: var(--yt-spec-text-primary) !important;
--yt-lightsource-secondary-title-color: var(--yt-spec-text-secondary) !important;
}
}

0 comments on commit 62bd7c1

Please sign in to comment.