1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Move blockquote footer font size to variables

Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.

80% as a default is still fine.
This commit is contained in:
acj 2018-08-14 10:35:11 +02:00 committed by XhmikosR
parent 00398e31c7
commit cd28869a2f
2 changed files with 2 additions and 1 deletions

View file

@ -116,7 +116,7 @@ mark,
.blockquote-footer {
display: block;
font-size: 80%; // back to default font-size
font-size: $blockquote-small-font-size;
color: $blockquote-small-color;
&::before {

View file

@ -298,6 +298,7 @@ $small-font-size: 80% !default;
$text-muted: $gray-600 !default;
$blockquote-small-color: $gray-600 !default;
$blockquote-small-font-size: $small-font-size !default;
$blockquote-font-size: ($font-size-base * 1.25) !default;
$hr-border-color: rgba($black, .1) !default;