From 7005b425e0b554f26a97863ae7784a4c5c52645a Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 8 Nov 2016 22:15:37 +0100 Subject: Remove the left margin of tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the entries list, the first tag below the link isn’t stick to the left. Now it is. --- app/Resources/static/themes/material/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/Resources') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 446fe879..b5e47300 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -507,6 +507,10 @@ a.original { white-space: nowrap; } +.card .card-entry-labels-hidden li:first-child { + margin-left: 0; +} + .card-entry-tags a, .card-entry-labels a, .card-tag-labels a, -- cgit v1.2.3 From 8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 8 Nov 2016 22:17:46 +0100 Subject: Display a bigger image in case of image content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the content is only an image, we can display a bigger preview image because we won’t have text to display. Also, split different card view to avoid too much complexity in the entries.html.twig --- app/Resources/static/themes/material/css/main.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Resources') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index b5e47300..48a7420a 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -568,7 +568,12 @@ a.original { height: 10em; } -.card .card-image .preview { +.card .card-fullimage { + height: 13.5em; +} + +.card .card-image .preview, +.card .card-fullimage .preview { height: 14em; background-size: cover; background-repeat: no-repeat; -- cgit v1.2.3