Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Pseudo-classes are no longer correctly scoped #239

Closed
smlombardi opened this issue Oct 30, 2017 · 1 comment
Closed

Pseudo-classes are no longer correctly scoped #239

smlombardi opened this issue Oct 30, 2017 · 1 comment

Comments

@smlombardi
Copy link

In VSCode insiders, in a nested item like this:

.dropdown-item {
  padding: 10px 30px 5px 20px;
  color: $gray-500;
  white-space: nowrap;
  font-family: $font-family-sans-serif;

  &:hover {
    background-color: $gray-60;
  }

  &:active, &.active {
    background-color: $gray-60;
    color: $gray-500;
  }

  &:last-child {
    padding-bottom: 10px;
  }

  &.disabled {
    color: $gray-300;
  }
}

The &:hover is not correctly colored:

screen shot 2017-10-30 at 10 02 01 am

the :active is correctly colored

This is a regression, it used to work fine..

@50Wliu
Copy link
Contributor

50Wliu commented Oct 30, 2017

I am going to assume this was caused by #234, which was reverted in #238.

@50Wliu 50Wliu closed this as completed Oct 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants