aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-09 12:45:58 -0700
committerMark Otto <[email protected]>2016-10-09 12:45:58 -0700
commit8f6a47303a3b52002e4519679db1bfb4b0a449de (patch)
treec7665e5d820220487319d05531f7852cf9509317
parentf49a7a2a0830ced28c5dbd8f94e04ad2f9d7425d (diff)
downloadbootstrap-8f6a47303a3b52002e4519679db1bfb4b0a449de.tar.xz
bootstrap-8f6a47303a3b52002e4519679db1bfb4b0a449de.zip
Drop the -font-size variable for the newer -size-sm one
Originally -font-size was added in v3 to set the font-size of the <small> element. Now that we have newer, global type variables, we can use those instead for these kind of things. Fixes #20859
-rw-r--r--scss/_type.scss2
-rw-r--r--scss/_variables.scss2
2 files changed, 1 insertions, 3 deletions
diff --git a/scss/_type.scss b/scss/_type.scss
index ff7114074..e0be5193c 100644
--- a/scss/_type.scss
+++ b/scss/_type.scss
@@ -60,7 +60,7 @@ hr {
small,
.small {
- font-size: $small-font-size;
+ font-size: $font-size-sm;
font-weight: normal;
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 52bd0eb81..516cbbc76 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -205,8 +205,6 @@ $headings-color: inherit !default;
$lead-font-size: 1.25rem !default;
$lead-font-weight: 300 !default;
-$small-font-size: 80% !default;
-
$text-muted: $gray-light !default;
$abbr-border-color: $gray-light !default;