Closed (fixed)
Project:
Colorbox
Version:
7.x-2.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 May 2013 at 18:11 UTC
Updated:
10 May 2017 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
roberttstephens commentedDo you think this is coming from colorbox/styles/default/colorbox_style.css around line 62?
It seems that setting max-width: to none is causing the problem, which I don't believe should be the default as it results in a poor user experience. I believe this should be fixed, so the image gets resized depending on the browser size.
The change should be
- max-width: none;
+ max-width: 100%;
+ max-height: 100%;
I've attached a patch.
Comment #2
codycraven commentedConfirming 100% max width and height fixes the problem for me of scrolling.
Comment #3
renatog commentedThanks people.
Comment #5
renatog commentedFixed.
Commited in dev branch.
Regards.