From dc2cb653aae2fb0c961acb12c593683dd456ee3a Mon Sep 17 00:00:00 2001 From: zhangchen915 Date: Tue, 24 Jul 2018 18:55:34 +0800 Subject: [PATCH] fix: thumbnail style --- src/index.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.scss b/src/index.scss index 915fd09..8760d33 100644 --- a/src/index.scss +++ b/src/index.scss @@ -142,8 +142,10 @@ .entry-summary { color: $gray-deep; .thumbnail { - background-size: cover; - margin: 14px 0 + background-size: contain; + background-position: center; + background-repeat: no-repeat; + margin: 14px 0; } } &:empty {