diff options
-rw-r--r-- | youtube/static/shared.css | 4 | ||||
-rw-r--r-- | youtube/templates/common_elements.html | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/youtube/static/shared.css b/youtube/static/shared.css index db3efef..a4e1960 100644 --- a/youtube/static/shared.css +++ b/youtube/static/shared.css @@ -257,6 +257,10 @@ body{ .stats address{ display: inline; } + .vertical-stats li{ + max-height: 1.3em; + overflow: hidden; + } .item-checkbox{ justify-self:start; 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) %} |