We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi !
I have an svg that takes variables as inline style as follow:
<svg style={{ height: size, width: size, fill: iconColor }} />
where each variable end up being a CSS variable.
The fill variable is well taken into consideration by jest-preview, but not the width/height 🤔 . When I hardcode values for height/width, it works.
jest-preview
I've checked and the CSS variable exist in the preview and follow the exact same structure than for fill.
https://stackblitz.com/edit/jest-preview-yegte5?file=src%2FApp.tsx The CSS variables on the test div are not taken into account
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi !
I have an svg that takes variables as inline style as follow:
where each variable end up being a CSS variable.
The fill variable is well taken into consideration by
jest-preview
, but not the width/height 🤔 . When I hardcode values for height/width, it works.I've checked and the CSS variable exist in the preview and follow the exact same structure than for fill.
Screenshots
Reproduce
https://stackblitz.com/edit/jest-preview-yegte5?file=src%2FApp.tsx
The CSS variables on the test div are not taken into account
The text was updated successfully, but these errors were encountered: