Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpricop <pricop2008@yahoo.com>2022-04-14 15:35:49 +0300
committerMark Otto <otto@github.com>2022-04-14 19:25:38 +0300
commit3b63d509dee06f012ec8b53b7ae50255dc297e2d (patch)
tree180677ee48332592c580984718c881ea3224d686
parent5299abeeab344f33cb311badc259ed1380fad130 (diff)
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.
-rw-r--r--scss/_variables.scss2
1 files changed, 1 insertions, 1 deletions
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;