Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate styles create duplicate keys #3

Open
Ivy4 opened this issue Jul 3, 2019 · 0 comments
Open

Duplicate styles create duplicate keys #3

Ivy4 opened this issue Jul 3, 2019 · 0 comments

Comments

@Ivy4
Copy link

Ivy4 commented Jul 3, 2019

My generated css file contains this:

.btn, .link {
color: blue;
}

.btn {
padding: 10px;
}

I expected my object to be like this:

{
link: {color: blue},
btn: {color: blue, padding: 10px}
}

However, the preview style gets overridden instead of combined:

{
btn: {color: blue},
link: {color: blue},
btn: {padding: 10px}
}
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

No branches or pull requests

1 participant