Skip to content

Commit

Permalink
Only compensate margin on pararaphs that don't have heading classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Feb 27, 2020
1 parent 2f86dc9 commit e18446f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_base_typography-definitions.scss
Expand Up @@ -167,7 +167,7 @@
@extend %common-default-text-properties;
margin-bottom: map-get($sp-after, p) - map-get($nudges, nudge--p);

& + & {
&:not([class*='p-heading--']):not([class*='p-muted-heading']) + & {
margin-top: -#{$sp-unit};
}

Expand Down

0 comments on commit e18446f

Please sign in to comment.