Skip to content

Allow background images for active buttons#25740

Merged
mdo merged 3 commits intotwbs:v4-devfrom
MartijnCuppens:patch-2
Jul 21, 2018
Merged

Allow background images for active buttons#25740
mdo merged 3 commits intotwbs:v4-devfrom
MartijnCuppens:patch-2

Conversation

@MartijnCuppens
Copy link
Member

Background images are removed from active buttons. This was initially done to remove the gradients in Bootstrap 3. In v4 this behaviour was moved to scss/mixins/_buttons.scss and only applied when gradients are enabled.

@if $enable-gradients {
background-image: none; // Remove the gradient for the pressed/active state
}

This code was never removed in scss/_buttons.scss:

background-image: none;

@mdo mdo merged commit c74a327 into twbs:v4-dev Jul 21, 2018
@mdo mdo mentioned this pull request Jul 21, 2018
@MartijnCuppens MartijnCuppens deleted the patch-2 branch July 21, 2018 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants