minor ui fixes

This commit is contained in:
Thomas Citharel 2016-06-23 23:13:25 +02:00
parent 91826e3ca2
commit a15022db96
2 changed files with 6 additions and 5 deletions

View file

@ -439,6 +439,10 @@ main ul.row {
height: auto;
}
#article > header > h1 {
font-size: 2em;
}
.reader-mode {
width: 95px !important;
transition: width 0.2s ease;

View file

@ -40,7 +40,7 @@
<i class="card-title grey-text text-darken-4 activator material-icons right">more_vert</i>
{% endif %}
<span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|slice(0, 42)|raw }}</a></span>
<span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|striptags }}">{{ entry.title|striptags|raw }}</a></span>
<div class="estimatedTime grey-text">
<span class="tool reading-time">
@ -78,13 +78,10 @@
<p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p>
<ul class="card-entry-labels-hidden">
{% for tag in entry.tags | slice(0, 2) %}
{% for tag in entry.tags %}
<li>{{ tag.label }}</li>
{% endfor %}
</ul>
{% if entry.tags | length > 2 %}
{{ 'entry.list.number_of_tags'|transchoice(entry.tags | length - 2) }}
{% endif %}
</div>
{% endif %}