diff --git a/assets/css/default.css b/assets/css/default.css index 919f13ec..b6f2d9cc 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -670,27 +670,27 @@ hr { margin: auto 0 auto 0; } -/* Description Expandsion Styling*/ +/* Description Expansion Styling*/ #description-box { display: flex; flex-direction: column; } -#readmorebutton { +#descexpansionbutton { display: none } -#readmorebutton ~ div { +#descexpansionbutton ~ div { overflow: hidden; height: 8.3em; } -#readmorebutton:checked ~ div { +#descexpansionbutton:checked ~ div { overflow: unset; height: 100%; } -#readmorebutton + label { +#descexpansionbutton + label { order: 1; margin-top: 20px; } diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index f9df159e..08f23876 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -26,15 +26,15 @@ <%= rendered "components/player_sources" %> <%= HTML.escape(video.title) %> - Invidious - @@ -244,8 +244,8 @@ we're going to need to do it here in order to allow for translations. <% if video.description.size < 200 || params.extend_desc %> <%= video.description_html %> <% else %> - -