Layout: Prevent long author name from overflowing in items with vertical stats
This commit is contained in:
parent
9f67a970c6
commit
69e64f726e
@ -257,6 +257,10 @@ body{
|
|||||||
.stats address{
|
.stats address{
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
.vertical-stats li{
|
||||||
|
max-height: 1.3em;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.item-checkbox{
|
.item-checkbox{
|
||||||
justify-self:start;
|
justify-self:start;
|
||||||
|
@ -35,9 +35,9 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% if include_author %}
|
{% if include_author %}
|
||||||
{% if 'author_url' is in(info) %}
|
{% 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 %}
|
{% else %}
|
||||||
<li><address><b>{{ info['author'] }}</b></address></li>
|
<li><address title="{{ info['author'] }}"><b>{{ info['author'] }}</b></address></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'views' is in(info) %}
|
{% if 'views' is in(info) %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user