diff --git a/.changeset/smart-apples-glow.md b/.changeset/smart-apples-glow.md new file mode 100644 index 000000000..9e5c23afd --- /dev/null +++ b/.changeset/smart-apples-glow.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fix list group item hoverable only with `.list-group-hoverable` class diff --git a/core/scss/ui/_lists.scss b/core/scss/ui/_lists.scss index a1ef6f715..9a9bbfb78 100644 --- a/core/scss/ui/_lists.scss +++ b/core/scss/ui/_lists.scss @@ -30,14 +30,6 @@ border-left-width: $border-width-wide; } -.list-group-item { - &:active, - &:focus, - &:hover { - background-color: $dropdown-link-hover-bg; - } -} - .list-group-item { &.disabled, &:disabled { @@ -58,6 +50,14 @@ } .list-group-hoverable { + .list-group-item { + &:active, + &:focus, + &:hover { + background-color: $dropdown-link-hover-bg; + } + } + .list-group-item-actions { opacity: 0; @include transition(opacity $transition-time);