From dc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8 Mon Sep 17 00:00:00 2001 From: Shohei Yoshida Date: Tue, 8 Jan 2019 13:59:49 +0900 Subject: [PATCH] Move `z-index` to .list-group-item-action and remove redundant `text-decoration: none` (#27996) --- scss/_list-group.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index e688f959f7..949f3d26f0 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -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; @@ -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;