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 size is override by global css #301

Open
Thalinda opened this issue Nov 27, 2018 · 1 comment
Open

Image size is override by global css #301

Thalinda opened this issue Nov 27, 2018 · 1 comment

Comments

@Thalinda
Copy link

Thalinda commented Nov 27, 2018

I am trying to implement cropit it's working in other places perfectly but when i implement it on sign in page it's get overridden by my global css but i have check if there any img css in my global css but there are no globals in there please help
screenshot from 2018-11-27 13-32-45
screenshot from 2018-11-27 13-33-06
screenshot from 2018-11-27 13-33-13

after all i have check CSS in inspector when i un-click in transform it's fixing my size problem

@dhruwal
Copy link

dhruwal commented Mar 12, 2019

For others if facing the same issue, one of the reason this happens is when you have img{max-width:100%;} in your global css.

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

2 participants