Skip to content

Commit

Permalink
fix(draft-title-block-zen): Fix font size for long titles in small vi…
Browse files Browse the repository at this point in the history
…ewports
  • Loading branch information
sentience committed Oct 11, 2023
1 parent c2f13d4 commit 5a203bc
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,15 @@ $tab-container-height-medium-and-small-collapsed: 0;
}
}

@include title-block-medium-and-small {
font-family: $typography-heading-4-font-family;
font-weight: $typography-heading-4-font-weight;
font-size: $typography-heading-4-font-size;
line-height: $typography-heading-4-line-height;
letter-spacing: $typography-heading-4-letter-spacing;
padding: 0;
&, .hasLongTitle & {
@include title-block-medium-and-small {
font-family: $typography-heading-4-font-family;
font-weight: $typography-heading-4-font-weight;
font-size: $typography-heading-4-font-size;
line-height: $typography-heading-4-line-height;
letter-spacing: $typography-heading-4-letter-spacing;
padding: 0;
}
}
}

Expand Down

0 comments on commit 5a203bc

Please sign in to comment.