From: pricop Date: Thu, 14 Apr 2022 12:35:49 +0000 (+0300) Subject: Updated the small-font-size to use a round value X-Git-Tag: v4.6.2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b63d509dee06f012ec8b53b7ae50255dc297e2d;p=thirdparty%2Fbootstrap.git Updated the small-font-size to use a round value This is a backport from BS5 to BS4. As per https://github.com/twbs/bootstrap/issues/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. --- diff --git a/scss/_variables.scss b/scss/_variables.scss index 7d8fb3b3bf..319a719b91 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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;