Skip to content

Fix nested selectors without parent declaration#256

Merged
tkh44 merged 2 commits into
masterfrom
fix-nested-selector-without-declaration
Aug 13, 2017
Merged

Fix nested selectors without parent declaration#256
tkh44 merged 2 commits into
masterfrom
fix-nested-selector-without-declaration

Conversation

@emmatown
Copy link
Copy Markdown
Member

What: Fix nested selectors without parent declaration

Why: Closes #255

How: Change the emotionClassRegex to only match if the class is at the start of the string.

Checklist:

  • Documentation N/A
  • Tests
  • Code complete

@codecov-io
Copy link
Copy Markdown

codecov-io commented Aug 12, 2017

Codecov Report

Merging #256 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   90.23%   90.23%           
=======================================
  Files          20       20           
  Lines         963      963           
  Branches      260      260           
=======================================
  Hits          869      869           
  Misses         76       76           
  Partials       18       18
Impacted Files Coverage Δ
src/index.js 94.09% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19ce8b2...dcdb611. Read the comment docs.

@tkh44 tkh44 merged commit 84d10fd into master Aug 13, 2017
@tkh44 tkh44 deleted the fix-nested-selector-without-declaration branch August 13, 2017 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested selectors don't work if the parent doesn't contains at least one CSS declaration

3 participants