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

Fix negative CSS variables #1384

Merged
merged 1 commit into from
May 25, 2018
Merged

Conversation

erquhart
Copy link
Contributor

- Summary

Dependency updates caused postcss to stop preprocessing css variables (due to sufficient browser support), and the following unsupported syntax stopped working:

margin: -var(--value);

The syntax used to produce the variable preceded with a hyphen. Instead the supported way to negate a css variable is:

margin: calc(-1 * var(--value));

- Description for the changelog

Fix markdown widget styling

@verythorough
Copy link
Contributor

Deploy preview for netlify-cms-www ready!

Built with commit fe3a44b

https://deploy-preview-1384--netlify-cms-www.netlify.com

@verythorough
Copy link
Contributor

Deploy preview for cms-demo ready!

Built with commit 22a653e

https://deploy-preview-1384--cms-demo.netlify.com

@verythorough
Copy link
Contributor

Deploy preview for netlify-cms-www ready!

Built with commit 22a653e

https://deploy-preview-1384--netlify-cms-www.netlify.com

@verythorough
Copy link
Contributor

Deploy preview for cms-demo ready!

Built with commit fe3a44b

https://deploy-preview-1384--cms-demo.netlify.com

@erquhart erquhart merged commit 89f2c9b into decaporg:master May 25, 2018
@erquhart erquhart deleted the negative-css-vars branch May 25, 2018 18:39
erquhart added a commit to erquhart/netlify-cms that referenced this pull request May 25, 2018
brianlmacdonald pushed a commit to brianlmacdonald/netlify-cms that referenced this pull request May 29, 2018
brianlmacdonald pushed a commit to brianlmacdonald/netlify-cms that referenced this pull request May 29, 2018
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.

None yet

2 participants