Skip to content

Commit

Permalink
Updated the small-font-size to use a round value
Browse files Browse the repository at this point in the history
This is a backport from BS5 to BS4.

As per #35553

The ```small-font -size``` will actually increase from ```13px``` to ```14px``` with this proposed change. Personally I'd prefer keeping it the BS5 way (```14px```), as the text is more readable now.

If it's needed, I can do another PR with the ```$small-font-size:             .8125rem !default;``` to resemble BS4 more closely but I feel like this would be a move forward even for BS4.
  • Loading branch information
pricop authored and mdo committed Apr 14, 2022
1 parent 5299abe commit 3b63d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ $display-line-height: $headings-line-height !default;
$lead-font-size: $font-size-base * 1.25 !default;
$lead-font-weight: 300 !default;

$small-font-size: 80% !default;
$small-font-size: .875em !default;

$text-muted: $gray-600 !default;

Expand Down

0 comments on commit 3b63d50

Please sign in to comment.