From 7cef8b5bdcc5779449159f81985e2f490d175ff2 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Tue, 1 Oct 2024 08:37:37 -0500 Subject: [PATCH] Merge pull request #20723 from overleaf/jel-cms-lists-headers [web] Reduce bottom margin on headers in styled lists GitOrigin-RevId: 0cbf93d4ef4e251afe71b4b726346b4d9e382f4f --- .../frontend/stylesheets/bootstrap-5/components/list.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/list.scss b/services/web/frontend/stylesheets/bootstrap-5/components/list.scss index dd4f030075..c067d769db 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/list.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/list.scss @@ -11,6 +11,14 @@ background-size: $icon-size $icon-size; margin-bottom: var(--spacing-05); padding-left: calc(var(--spacing-05) + $icon-size); + + h2, + h3, + h4, + h5, + h6 { + margin-bottom: var(--spacing-04); + } } }