diff --git a/.editorconfig b/.editorconfig index f339d2da6..d4ef73490 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,7 @@ indent_style = space indent_size = 4 trim_trailing_whitespace = true insert_final_newline = true + +[*.css] +indent_style = space +indent_size = 2 diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 7bba6bc0c..d17d01985 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -430,7 +430,7 @@ main ul.row { .card .card-content .card-title, .card .card-reveal .card-title { line-height: 22.8px; - max-height: 64px; + max-height: 80px; font-size: 19px; font-family: roberto, "Helvetica Neue", Helvetica, Arial, sans-serif; color: #313131; @@ -711,7 +711,14 @@ main ul.row { } } -@media only screen and (min-width: 993px) and (max-width: 1180px) { +@media only screen and (min-width: 1200px) and (max-width: 1650px) { + .row .col.l3 { + width: 33.33333%; + margin-left: 0; + } +} + +@media only screen and (min-width: 993px) and (max-width: 1200px) { .row .col.l1 { width: 25%; margin-left: 0; 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 2c145b2a4..2a027086c 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 }}
- - {{ entry.domainName|removeWww|truncate(18) }} + + {{ entry.domainName|removeWww|truncate(30, false, '…') }}
{% if entry.previewPicture is null %} -

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

+

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