Skip to content

Commit 68f461f

Browse files
committed
fix: text not displaying margins
1 parent 7dbe69c commit 68f461f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/components/text/src/styles/index.module.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
// Margin
1616

17-
.h1,
18-
.h2,
19-
.h3,
20-
.h4,
21-
.h5,
22-
.h6 {
17+
.variation_h1,
18+
.variation_h2,
19+
.variation_h3,
20+
.variation_h4,
21+
.variation_h5,
22+
.variation_h6 {
2323
@include define-css-var(text, margin-top, get-css-var(text, font-size));
2424
@include define-css-var(text, margin-bottom, calc(#{get-css-var(text, font-size)} * 0.75));
2525
}
@@ -48,12 +48,12 @@ p.variation_p {
4848

4949
// Variation
5050

51-
.h1,
52-
.h2,
53-
.h3,
54-
.h4,
55-
.h5,
56-
.h6 {
51+
.variation_h1,
52+
.variation_h2,
53+
.variation_h3,
54+
.variation_h4,
55+
.variation_h5,
56+
.variation_h6 {
5757
// Force block display in case of component with inline element
5858
display: block;
5959
}

0 commit comments

Comments
 (0)