jackmoore/colorbox — pull request #262 by jeremysawesome (2012-10-06 16:08:42+00:00)
Title: Attempts to Fix issue #17

Attempts to fix [issue 17]( https://github.com/jackmoore/colorbox/issues/17)

Problem: Max height for colorbox is calculated after the width of the colorbox. If the height of the contained content is greater than the defined max height, the height of the colorbox is adjusted and a scrollbar is added by the browser. This extra width of the added vertical scrollbar is not taken into account and the colorbox ends up with a superfluous horizontal scrollbar.