From: Martijn Cuppens Date: Thu, 19 Dec 2019 09:31:24 +0000 (+0100) Subject: Remove unrelated properties from gradient-bg mixin X-Git-Tag: v5.0.0-alpha1~462 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc2d65b297ffbaab6672845bdefcd71e297c682;p=thirdparty%2Fbootstrap.git Remove unrelated properties from gradient-bg mixin --- diff --git a/scss/mixins/_gradients.scss b/scss/mixins/_gradients.scss index 13547401a3..e3aee29f7d 100644 --- a/scss/mixins/_gradients.scss +++ b/scss/mixins/_gradients.scss @@ -3,12 +3,9 @@ @mixin gradient-bg($color, $foreground: null) { @if $enable-gradients { @if $foreground { - background-color: $color; background-image: $foreground, linear-gradient(180deg, mix($body-bg, $color, 15%), $color); - background-repeat: no-repeat; - background-size: 1em, auto; } @else { - background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x; + background-image: linear-gradient(180deg, mix($body-bg, $color, 15%), $color); } } @else { background-color: $color;