Skip to content

Commit

Permalink
Move z-index to .list-group-item-action and remove redundant `text-…
Browse files Browse the repository at this point in the history
…decoration: none` (twbs#27996)
  • Loading branch information
ysds authored and XhmikosR committed Jan 8, 2019
1 parent 48fe2c2 commit dc43642
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scss/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

// Hover state
@include hover-focus {
z-index: 1; // Place hover/focus items above their siblings for proper border styling
color: $list-group-action-hover-color;
text-decoration: none;
background-color: $list-group-hover-bg;
Expand Down Expand Up @@ -58,11 +59,6 @@
@include border-bottom-radius($list-group-border-radius);
}

@include hover-focus {
z-index: 1; // Place hover/active items above their siblings for proper border styling
text-decoration: none;
}

&.disabled,
&:disabled {
color: $list-group-disabled-color;
Expand Down

0 comments on commit dc43642

Please sign in to comment.