diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-06-23 23:13:25 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-06-23 23:13:25 +0200 |
commit | a15022db96fb031f7a9bccbdcc9420a8ca94174c (patch) | |
tree | 40d8f584d796086b95f880da26609fecf6cecf53 | |
parent | 91826e3ca2605d8280db16e62ebd0f2d79f4216c (diff) | |
download | wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.tar.gz wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.tar.zst wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.zip |
minor ui fixes
-rwxr-xr-x | app/Resources/static/themes/material/css/main.css | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index e70bb2b1..cfc77d06 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css | |||
@@ -439,6 +439,10 @@ main ul.row { | |||
439 | height: auto; | 439 | height: auto; |
440 | } | 440 | } |
441 | 441 | ||
442 | #article > header > h1 { | ||
443 | font-size: 2em; | ||
444 | } | ||
445 | |||
442 | .reader-mode { | 446 | .reader-mode { |
443 | width: 95px !important; | 447 | width: 95px !important; |
444 | transition: width 0.2s ease; | 448 | transition: width 0.2s ease; |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index d245c8fd..d1cadea9 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -40,7 +40,7 @@ | |||
40 | <i class="card-title grey-text text-darken-4 activator material-icons right">more_vert</i> | 40 | <i class="card-title grey-text text-darken-4 activator material-icons right">more_vert</i> |
41 | {% endif %} | 41 | {% endif %} |
42 | 42 | ||
43 | <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|slice(0, 42)|raw }}</a></span> | 43 | <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|striptags }}">{{ entry.title|striptags|raw }}</a></span> |
44 | 44 | ||
45 | <div class="estimatedTime grey-text"> | 45 | <div class="estimatedTime grey-text"> |
46 | <span class="tool reading-time"> | 46 | <span class="tool reading-time"> |
@@ -78,13 +78,10 @@ | |||
78 | <p>{{ entry.content|striptags|slice(0, 300)|raw }}…</p> | 78 | <p>{{ entry.content|striptags|slice(0, 300)|raw }}…</p> |
79 | 79 | ||
80 | <ul class="card-entry-labels-hidden"> | 80 | <ul class="card-entry-labels-hidden"> |
81 | {% for tag in entry.tags | slice(0, 2) %} | 81 | {% for tag in entry.tags %} |
82 | <li>{{ tag.label }}</li> | 82 | <li>{{ tag.label }}</li> |
83 | {% endfor %} | 83 | {% endfor %} |
84 | </ul> | 84 | </ul> |
85 | {% if entry.tags | length > 2 %} | ||
86 | {{ 'entry.list.number_of_tags'|transchoice(entry.tags | length - 2) }} | ||
87 | {% endif %} | ||
88 | </div> | 85 | </div> |
89 | {% endif %} | 86 | {% endif %} |
90 | 87 | ||