Skip to content

Commit

Permalink
Merge pull request #1224 from mfranzke/fix-docs-headlines-styling-bre…
Browse files Browse the repository at this point in the history
…aks-in-edge-cases

fix(docs): headlines styling breaks in edge cases #1158
  • Loading branch information
sghoweri authored Jun 28, 2020
2 parents 53eef5f + d8244a2 commit d6e8356
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/docs/src/scss/abstracts/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
z-index: 0;
content: attr(data-text);

// Mitigating the positioning by 4px from the left to not have the words break incorrectly (see #GH-1158)
margin-right: -4px;

background-image: radial-gradient(
$color-brand-purple 0%,
$color-brand-purple 60%,
Expand Down

0 comments on commit d6e8356

Please sign in to comment.