aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/common_elements.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-24 18:25:37 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-24 18:25:37 -0700
commit69e64f726eef1c92b8b5d50c8822afdc1cde2134 (patch)
tree225e01cd14182df132da7c857fbd3b14e18dbf65 /youtube/templates/common_elements.html
parent9f67a970c602f82a761b90587033d9beaf7c122b (diff)
downloadyt-local-69e64f726eef1c92b8b5d50c8822afdc1cde2134.tar.lz
yt-local-69e64f726eef1c92b8b5d50c8822afdc1cde2134.tar.xz
yt-local-69e64f726eef1c92b8b5d50c8822afdc1cde2134.zip
Layout: Prevent long author name from overflowing in items with vertical stats
Diffstat (limited to 'youtube/templates/common_elements.html')
-rw-r--r--youtube/templates/common_elements.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html
index 33d50b7..67655b3 100644
--- a/youtube/templates/common_elements.html
+++ b/youtube/templates/common_elements.html
@@ -35,9 +35,9 @@
{% else %}
{% if include_author %}
{% if 'author_url' is in(info) %}
- <li><address>By <a href="{{ info['author_url'] }}">{{ info['author'] }}</a></address></li>
+ <li><address title="{{ info['author'] }}">By <a href="{{ info['author_url'] }}">{{ info['author'] }}</a></address></li>
{% else %}
- <li><address><b>{{ info['author'] }}</b></address></li>
+ <li><address title="{{ info['author'] }}"><b>{{ info['author'] }}</b></address></li>
{% endif %}
{% endif %}
{% if 'views' is in(info) %}