aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/watch.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-12-17 21:52:31 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-12-17 21:52:31 -0800
commitee0a118a6c7ed0e371fed18dcdace1f18a3cabf6 (patch)
tree2324eb48573dcd33c9aaf86c691eed113aefd18b /youtube/templates/watch.html
parente98a1965d2cfca725d8d30a4807e816036b60c0b (diff)
downloadyt-local-ee0a118a6c7ed0e371fed18dcdace1f18a3cabf6.tar.lz
yt-local-ee0a118a6c7ed0e371fed18dcdace1f18a3cabf6.tar.xz
yt-local-ee0a118a6c7ed0e371fed18dcdace1f18a3cabf6.zip
Extraction: Fix thumbnail and remove badges on related videos
Diffstat (limited to 'youtube/templates/watch.html')
-rw-r--r--youtube/templates/watch.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index eaa3786..0ffa358 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -165,9 +165,13 @@
.related-videos-inner{
padding-top: 10px;
display: grid;
- grid-auto-rows: 94px;
+ grid-auto-rows: 90px;
grid-row-gap: 10px;
}
+ .thumbnail-box{ /* overides rule in shared.css */
+ height: 90px !important;
+ width: 120px !important;
+ }
/* Put related vids below videos when window is too small */
/* 1100px instead of 1080 because W3C is full of idiots who include scrollbar width */
@@ -311,7 +315,7 @@
<summary>Related Videos</summary>
<nav class="related-videos-inner">
{% for info in related %}
- {{ common_elements.item(info) }}
+ {{ common_elements.item(info, include_badges=false) }}
{% endfor %}
</nav>
</details>