From 2daae770942911428fba11af207e61e6460cff98 Mon Sep 17 00:00:00 2001 From: Simounet Date: Wed, 11 Jul 2018 23:57:01 +0200 Subject: Card no preview replaced by wallabag logo --- app/Resources/static/themes/material/css/cards.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/Resources/static/themes/material/css/cards.scss b/app/Resources/static/themes/material/css/cards.scss index 9dcbb8bb..6691adc6 100644 --- a/app/Resources/static/themes/material/css/cards.scss +++ b/app/Resources/static/themes/material/css/cards.scss @@ -118,15 +118,14 @@ main { .card-image .preview, .card-fullimage .preview { - height: 14em; + height: 100%; background: no-repeat 50%/cover; + background-color: #efefef; display: block; - } - .card-image .placeholder { - background-color: #111; - filter: invert(100%); - -webkit-filter: invert(100%); + &--default { + background-size: contain; + } } &.sw { -- cgit v1.2.3