Răsfoiți Sursa

Merge pull request #20723 from overleaf/jel-cms-lists-headers

[web] Reduce bottom margin on headers in styled lists

GitOrigin-RevId: 0cbf93d4ef4e251afe71b4b726346b4d9e382f4f
Jessica Lawshe 1 an în urmă
părinte
comite
7cef8b5bdc

+ 8 - 0
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);
+    }
   }
 }