diff --git a/youtube/static/watch.css b/youtube/static/watch.css index 90c08d5..60abd21 100644 --- a/youtube/static/watch.css +++ b/youtube/static/watch.css @@ -345,6 +345,14 @@ label[for=options-toggle-cbox] { .side-videos { grid-area: side-videos; } +.side-videos .related-autoplay { + list-style: none; + display: grid; + grid-template-columns: repeat(2, auto); + justify-content: start; + grid-column-gap: 0.5rem; +} + /* playlist items */ .side-videos .site-playlist { border-style: solid; diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 0b61f92..47880b8 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -150,124 +150,42 @@ {% if playlist %} -
-
-

{{ playlist['title'] }}

- -
- - {% if playlist['current_index'] is not none %} - - {% endif %} - {% if playlist['id'] is not none %} - - {% endif %} -
+ // @license-end + + {% endif %} + + {% elif settings.related_videos_mode != 0 %} + + {% endif %} + + {% if settings.related_videos_mode != 0 or playlist %} + {% endif %}