From 99656f04faa8e021e7379a57df70560e6462c432 Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Tue, 18 Aug 2020 11:45:31 -0700 Subject: [PATCH] Wrap announcement content in div for collapsing margin --- _layouts/announcement.html | 4 +++- _sass/custom/card.scss | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/_layouts/announcement.html b/_layouts/announcement.html index 240a7e16..3451611f 100644 --- a/_layouts/announcement.html +++ b/_layouts/announcement.html @@ -8,5 +8,7 @@

{{ page.title }}

{% assign minutes = content | strip_html | number_of_words | divided_by: 180.0 | round %} {{ minutes }} min read - {{ content }} +
+ {{ content }} +
diff --git a/_sass/custom/card.scss b/_sass/custom/card.scss index eea5bc86..919164e8 100644 --- a/_sass/custom/card.scss +++ b/_sass/custom/card.scss @@ -25,11 +25,6 @@ border-bottom: none !important; } - p { - margin-top: 0; - margin-bottom: 0.5em; - } - .label { border-radius: $border-radius; margin-left: 0;