]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Drop the -font-size variable for the newer -size-sm one 20867/head
authorMark Otto <markdotto@gmail.com>
Sun, 9 Oct 2016 19:45:58 +0000 (12:45 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 9 Oct 2016 19:45:58 +0000 (12:45 -0700)
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

scss/_type.scss
scss/_variables.scss

index ff7114074db490c1eb5007a1cdda977884d58a54..e0be5193c0dd09cd0313e1a6344e5fc97d9b3bb4 100644 (file)
@@ -60,7 +60,7 @@ hr {
 
 small,
 .small {
-  font-size: $small-font-size;
+  font-size: $font-size-sm;
   font-weight: normal;
 }
 
index 52bd0eb8175a0e8142b5931a30fef741fc6c7eb9..516cbbc76ab4f2eee6522679fd50bcd32aba461a 100644 (file)
@@ -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;