Skip to content

Conversation

@ysds
Copy link
Contributor

@ysds ysds commented Jan 17, 2018

a.list-group-item has been replaced to .list-group-item-action in v4.

Related:

This PR applies this approach to the mixin.

ysds added 2 commits January 17, 2018 10:05
- Even without, it works  as intended according to the CSS specificity.
button.list-group-item-#{$state} {
color: $color;

.list-group-item-action.list-group-item-#{$state} {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe nest this in the above selector?

.list-group-item-#{$state} {
  // styles

  &.list-group-item-action {
    // styles
  }
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree!

@mdo mdo mentioned this pull request Jan 17, 2018
@XhmikosR XhmikosR merged commit b1a7548 into twbs:v4-dev Jan 17, 2018
@ysds ysds deleted the list-group-item-variant branch March 14, 2018 01:56
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.

3 participants