X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fcss%2Fcards.scss;h=6691adc6e4a7ec247db63612307701cdb3cff822;hb=2daae770942911428fba11af207e61e6460cff98;hp=8f7f8f7b4e87ac4020477012f82fa11dffca19e8;hpb=3473e600b1d0ae0695b8c15342a6a1f76e2bc973;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/material/css/cards.scss b/app/Resources/static/themes/material/css/cards.scss index 8f7f8f7b..6691adc6 100644 --- a/app/Resources/static/themes/material/css/cards.scss +++ b/app/Resources/static/themes/material/css/cards.scss @@ -118,9 +118,14 @@ main { .card-image .preview, .card-fullimage .preview { - height: 14em; + height: 100%; background: no-repeat 50%/cover; + background-color: #efefef; display: block; + + &--default { + background-size: contain; + } } &.sw {