Skip to content

Commit

Permalink
Fixed tiny text issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hopearmstrong committed Jul 27, 2020
1 parent 8705aef commit 0461083
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _sass/leap/atoms/_typography.sass
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ h1, h2, h3, h4, h5, h6
// Create text size classes
@mixin header-size($suffix)

// Iterate through each text-size to create text size classes with letter-spacing
@each $size, $number in $text-size and $text-tracking
// Iterate through each text-size to create text size classes
@each $size, $number in $text-size
.text-#{$size}-#{$suffix}
font-size: #{$number} !important

// Iterate through each text-size to add letter-spacing
@each $size, $number in $text-tracking
.text-#{$size}-#{$suffix}
letter-spacing: #{$number} !important

// Adds the media queries to the header mixin
Expand Down

0 comments on commit 0461083

Please sign in to comment.