From 387cf4217c412454c3658f330f370d2b99d302a5 Mon Sep 17 00:00:00 2001 From: Damillora Date: Tue, 26 Nov 2019 02:41:31 +0700 Subject: [PATCH] adjust postcard header --- assets/css/styles.css | 3 +++ partials/post-background.hbs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index 2208cec..d220b48 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -213,6 +213,9 @@ footer { } /* 5. Post Card */ +.post-background { + height: 18rem; +} .post-card .excerpt { max-height: 5rem; } diff --git a/partials/post-background.hbs b/partials/post-background.hbs index e42aefd..39a4d9b 100644 --- a/partials/post-background.hbs +++ b/partials/post-background.hbs @@ -24,10 +24,10 @@ with a `no-image` class so we can style it accordingly. } } -
+
{{else}} -
+
{{/if}}