Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

don't break modal position when a title is larger then image #9

Merged
merged 1 commit into from

2 participants

@borisnadion

No description provided.

@blueimp blueimp merged commit 49f9e1b into blueimp:master
@blueimp
Owner

Thanks for your contribution, Boris. :)

@borisnadion

you welcome ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2012
  1. @borisnadion
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  js/bootstrap-image-gallery.js
View
1  js/bootstrap-image-gallery.js
@@ -159,6 +159,7 @@
width: img.width,
height: img.height
});
+ modal.find('.modal-title').css({ width: Math.max(img.width, 380) });
if ($(window).width() > 480) {
if (transition) {
clone = modal.clone().hide().appendTo(document.body);
Something went wrong with that request. Please try again.