Skip to content

Commit

Permalink
Set tracking-normal explicitly on H4 and H5 styles (#257)
Browse files Browse the repository at this point in the history
Without these, tighter tracking values were mistakenly being applied in situations where `h2` or `h3` elements were used with a class of `text-h4` or `text-h5`. When those classes are used, the tracking should match the specified H4 and H5 styles.
  • Loading branch information
Scotchester authored Jun 28, 2022
1 parent 00e9a24 commit a95e715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scss/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ h3,

h4,
.text-h4 {
@apply font-semibold text-3xl;
@apply font-semibold text-3xl tracking-normal;
line-height: 1.75rem; // 28px

@screen md {
Expand All @@ -121,7 +121,7 @@ h4,

h5,
.text-h5 {
@apply font-semibold text-xl;
@apply font-semibold text-xl tracking-normal;
line-height: 1.625rem; // 26px

@screen md {
Expand Down

0 comments on commit a95e715

Please sign in to comment.