Skip to content

Commit 7538618

Browse files
committed
Inline headline-spacing default into custom property
1 parent 8f8c90c commit 7538618

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

public/framework/scss/ctm_base/_vars.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
--h6-c-fs:#{$h6-content-font-size-small};
116116

117117
// Headline spacings
118-
--hl-mb:1rem;
119118
--hl-mb-1:#{$headline-spacing-small};
120119
--hl-mb-s-1:#{$headline-spacing-s-small};
121120
--hl-mb-l-1:#{$headline-spacing-l-small};

public/framework/scss/ctm_layout/_headline-spacing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
div[class*="hl-mb-"] {
21-
margin-bottom: var(--hl-mb) !important;
21+
margin-bottom: var(--hl-mb,#{$headline-spacing}) !important;
2222
}
2323

2424
$hl-bps: map-merge((0:0),$breakpoints);

0 commit comments

Comments
 (0)