From 92e94517c9a4ba6e067b2bc15092c1ec53dc137c Mon Sep 17 00:00:00 2001 From: M Fahru Date: Wed, 16 Oct 2024 11:01:18 -0700 Subject: [PATCH] Merge pull request #21081 from overleaf/mf-blog-read-more-spacing-top [web] Update spacing between blog preview and "read more" link in blog list page GitOrigin-RevId: ee9184017f0862fac849d9ca2c4f6bcabdad5bff --- .../bootstrap-5/components/blog-posts.scss | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss b/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss index 83a285a660..0e654ea0a8 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss @@ -58,10 +58,6 @@ padding: 0; } - p { - margin-top: 12.5px; - } - > li { .blog-date { margin-top: var(--spacing-07); @@ -122,14 +118,12 @@ } .blog-content-preview { - margin-bottom: var(--spacing-06); - - > *:first-child { - margin-top: 0; + p:last-child { + margin-bottom: 0; } - > *:last-child { - margin-bottom: 0; + & + .blog-tags > div > .tags { + margin-top: var(--spacing-06); } }