From 3221b2e413eeddf952310a702fff0f887384018f Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 3 Nov 2016 11:28:40 +0100 Subject: Fix resolution issues and 'title' issues Also, modify editorconfig for css files. Signed-off-by: Thomas Citharel --- .../Resources/views/themes/material/Entry/entries.html.twig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 2c145b2a..2a027086 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 @@ -37,16 +37,16 @@ more_vert {% endif %} - {{ entry.title|striptags|raw }} + {{ entry.title| striptags | truncate(80, true, '…') | raw }} {% if entry.previewPicture is null %} -

{{ entry.content|striptags|slice(0, 300)|raw }}…

+

{{ entry.content|striptags|slice(0, 250)|raw }}…