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

image has not been displayed correctly in background-image property #97

Open
TabrisK opened this issue Apr 2, 2018 · 3 comments
Open

Comments

@TabrisK
Copy link

TabrisK commented Apr 2, 2018

I am using react-css-module to make a SPA.Everything is ok when I use background-image in other places, but not correctly at here.The code and web dev tool's screenshot is as follows.
./promotion.scss:
1

./promotion.js:
2

screenshot of style block's in web dev tool:
3

error message in console:
4

@TabrisK
Copy link
Author

TabrisK commented Apr 3, 2018

I found the different place between the two image data in background-image.

1

The above is the error version, and another is the correct version.

@rodneyrehm
Copy link
Owner

yeah, the 4vh is replaced but really shouldn't. This problem was first reported in #34 and attempted to be fixed in #86 - would you like to pick up that PR and bring it across the finish line?

@Jurool
Copy link

Jurool commented Jun 20, 2018

I also encountered the same problem and I could not find a solution for the time being.
error

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

3 participants