YouTube - Proper Description

Description below the video with proper open/close toggle, instead of a side bar.

Version au 12/05/2022. Voir la dernière version.

Auteur
q1k
Notes
0 0 0
Version
1.1.1
Créé
25/02/2022
Mis à jour
12/05/2022
Taille
5,28 ko
Licence
N/A
S'applique à

YouTube changed the description box below the video.
This script tries to revert to the old proper description style layout as well as the one without the side bar.

Note:
Install if your description has changed to the compact version or the 'show more' button opens in a side bar and you want to bring it back.
There is no need to install this if you still have the original behavior (Unless you want to be prepared).

Additional:
In versions prior to 1.1.0 I had a wider description expander button (shown in screenshot 'after').
If you like it like that, you can install that as a new userstyle using Stylus extension,

here's the code:

#meta ytd-video-secondary-info-renderer, 
#primary #meta #description_open, 
#primary #meta #description_close { border-color: rgba(0,0,0,0.125); padding-bottom: 0; border-bottom: none; }
#meta ytd-expander.ytd-video-secondary-info-renderer, 
#meta ytd-expander.ytd-video-secondary-info-renderer > * { margin-left: 0; }
#meta #description_open, #meta #description_close { width: 100%; border-top: 1px solid; border-radius: 0; text-align: center; cursor: pointer; margin-top: 1em; background: linear-gradient(rgba(0,0,0,0.02), transparent); }
[dark] #meta #description_open, 
[dark] #meta #description_close { background: linear-gradient(rgba(255,255,255,0.02), transparent); }
#meta #description_open:hover, 
#meta #description_close:hover { background: rgba(0,0,0,0.03); }
[dark] #meta #description_open:hover, 
[dark] #meta #description_close:hover { background: rgba(255,255,255,0.03); }
#meta #description_open .desc_text, 
#meta #description_close .desc_text { margin: 0; padding: 4px; }

Another thing you can do is send feedback directly to Youtube that you don't like the new changes.