From c8ceff11ddd9686c66d65e8384f1712430b8a7c2 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 21 Nov 2020 20:35:04 +0000 Subject: [PATCH] fix: spacing issue with nested lists in Experience widget Original style wasn't intended for nested lists to be used within card text. Fix #1979 --- wowchemy/assets/scss/wowchemy/_widgets.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wowchemy/assets/scss/wowchemy/_widgets.scss b/wowchemy/assets/scss/wowchemy/_widgets.scss index c2076651..baa42895 100644 --- a/wowchemy/assets/scss/wowchemy/_widgets.scss +++ b/wowchemy/assets/scss/wowchemy/_widgets.scss @@ -402,7 +402,8 @@ ul.ul-edu li .description p.institution { color: rgb(248, 248, 242) !important; } -.card .card-text ul { +// For a UL after P, remove the spacing between (P margin-bottom) without affecting any nested lists. +.card .card-text p + ul { margin-top: -1rem; margin-bottom: 0rem; }