From 3b63d509dee06f012ec8b53b7ae50255dc297e2d Mon Sep 17 00:00:00 2001 From: pricop Date: Thu, 14 Apr 2022 15:35:49 +0300 Subject: [PATCH] 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. --- scss/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;