diff options
| author | Cadence Ember <cadence@disroot.org> | 2021-06-24 21:05:06 +1200 |
|---|---|---|
| committer | Mostafa Ahangarha <ahangarha@riseup.net> | 2021-06-24 15:12:05 +0430 |
| commit | 7ec93825b6e92667b345463d8d42e66764a83a57 (patch) | |
| tree | e595b1f8adb36b166d9d1696b67858fed202dee5 /src | |
| parent | 4a4867deeb80e9d560131a55286c6163c79a20c5 (diff) | |
| download | invidious-7ec93825b6e92667b345463d8d42e66764a83a57.tar.gz invidious-7ec93825b6e92667b345463d8d42e66764a83a57.tar.bz2 invidious-7ec93825b6e92667b345463d8d42e66764a83a57.zip | |
Change description-box from flex to block
I also make minor changes to the surroundings so that the same layout
and functionality as before is preserved.
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 91e03725..8ea83384 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -30,11 +30,11 @@ we're going to need to do it here in order to allow for translations. --> <style> -#descexpansionbutton + label > a::after { +#descexpansionbutton ~ label > a::after { content: "<%= translate(locale, "Show more") %>" } -#descexpansionbutton:checked + label > a::after { +#descexpansionbutton:checked ~ label > a::after { content: "<%= translate(locale, "Show less") %>" } </style> @@ -249,12 +249,12 @@ we're going to need to do it here in order to allow for translations. <%= video.description_html %> <% else %> <input id="descexpansionbutton" type="checkbox"/> - <label for="descexpansionbutton" style="order: 1;"> - <a></a> - </label> <div id="descriptionWrapper"> <%= video.description_html %> </div> + <label for="descexpansionbutton"> + <a></a> + </label> <% end %> </div> |
