]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
minor ui fixes
authorThomas Citharel <tcit@tcit.fr>
Thu, 23 Jun 2016 21:13:25 +0000 (23:13 +0200)
committerThomas Citharel <tcit@tcit.fr>
Thu, 23 Jun 2016 21:13:25 +0000 (23:13 +0200)
app/Resources/static/themes/material/css/main.css
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig

index e70bb2b1209d6c7169095bee6ea649e29d8cbb6d..cfc77d06dcfa4bf08b872c092f60993a4951abb0 100755 (executable)
@@ -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;
index d245c8fdf3c5cff776c942a3ca3572b54897009f..d1cadea95a5dd90385d5dd2858c3b423a06f3732 100644 (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">
                             <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 %}