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

Zoom starts distorting image at viewport width #31

Open
erralb opened this issue Jan 15, 2014 · 1 comment
Open

Zoom starts distorting image at viewport width #31

erralb opened this issue Jan 15, 2014 · 1 comment

Comments

@erralb
Copy link

erralb commented Jan 15, 2014

Hi,

I used the default css and default js configuration.
In your demo it's working fine but when I try to use jrac in my CMS, I have this zoom problem. I made screenshots so it's easier to see what's going on.

not_good
good

Instead of keeping growing, and eventually go "behind" the viewport, when the image hits the viewport width, it keeps the image width from growing but still increases the height.

I do not have any image limitation in my sass/css, and when I look at the console, dragging the zoom bar still increases the image width in the <img> tag.

Any idea what could be wrong here?

@guilhermeslk
Copy link

Try adding the follow lines in the style.jrac.css

img.ui-draggable {
max-width: inherit !important;

}

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