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

Support for inline comments? #647

Closed
geuis opened this issue May 8, 2018 · 0 comments · Fixed by #650
Closed

Support for inline comments? #647

geuis opened this issue May 8, 2018 · 0 comments · Fixed by #650
Assignees
Labels

Comments

@geuis
Copy link

geuis commented May 8, 2018

Apologies if this has been answer before. I searched through prior issues but didn't notice any of the responses directly answering my question.

Using: react-emotion 9.1.2

I frequently find myself using this pattern:

I will have some styling that I am experimenting with:

export const PaginationControl = styled.div`
  color: #fff;
  padding: 8px;
`;

And while I'm working, I want to comment out a style temporarily while I try a different property:

export const PaginationControl = styled.div`
  color: #ddd;
  padding: 16px;
  // color: #fff;
  // padding: 8px;
`;

I haven't been able to find a way to do this yet without breaking the styling. Is there a method to do something like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants