From 171648c80874346fc82d593daa14eb5283cfdf28 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 16 Apr 2021 21:57:38 +0100 Subject: [PATCH] fix: style mb --- wowchemy/assets/scss/wowchemy/layouts/_listing.scss | 8 +++++++- wowchemy/layouts/partials/widgets/about.html | 4 ++-- wowchemy/layouts/partials/widgets/portfolio.html | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/wowchemy/assets/scss/wowchemy/layouts/_listing.scss b/wowchemy/assets/scss/wowchemy/layouts/_listing.scss index e1b7243d..2891bd13 100644 --- a/wowchemy/assets/scss/wowchemy/layouts/_listing.scss +++ b/wowchemy/assets/scss/wowchemy/layouts/_listing.scss @@ -28,7 +28,7 @@ * Compact (stream) list view **************************************************/ -.media.stream-item { +.media.stream-item:not(:last-child) { margin-bottom: 2rem; } @@ -58,3 +58,9 @@ max-width: 80px; } } + +// TODO: refactor HTML to prevent duplicate nested `article-metadata` class from +// li_compact.html > {{partial "page_metadata" ... }} +.stream-meta.article-metadata .article-metadata { + margin-bottom: 0; +} diff --git a/wowchemy/layouts/partials/widgets/about.html b/wowchemy/layouts/partials/widgets/about.html index 829cc39b..1b59ffab 100644 --- a/wowchemy/layouts/partials/widgets/about.html +++ b/wowchemy/layouts/partials/widgets/about.html @@ -81,7 +81,7 @@ {{ with $person.interests }}
{{ i18n "interests" | markdownify }}
-