Skip to content

Commit d6e8356

Browse files
authored
Merge pull request #1224 from mfranzke/fix-docs-headlines-styling-breaks-in-edge-cases
fix(docs): headlines styling breaks in edge cases #1158
2 parents 53eef5f + d8244a2 commit d6e8356

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/docs/src/scss/abstracts/_mixins.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
z-index: 0;
9292
content: attr(data-text);
9393

94+
// Mitigating the positioning by 4px from the left to not have the words break incorrectly (see #GH-1158)
95+
margin-right: -4px;
96+
9497
background-image: radial-gradient(
9598
$color-brand-purple 0%,
9699
$color-brand-purple 60%,

0 commit comments

Comments
 (0)