Open gusano opened 7 years ago
I don't know how minifying css is done (didn't use Grunt in a looong time) but it looks like dist/ekko-lightbox.min.css
hasn't changed since a year ago, otherwise I would happily add the change there as well.
Meanwhile I'm gonna use my fork :)
Thanks for the nice lib!
As this plugin uses bootstraps modals, isn't this a problem in bootstrap rather than the plugin?
Indeed it's the default behaviour of bootstrap modal. It's not only on mobile: bootstrap modal is always shown at the top of the page. (On desktop as the display is landscape we will not notice it for classic pictures, except for panoramic images.)
Even if it's the default modal behaviour, the result would be nicer if the image was centred vertically :)
On some mobiles the modal is not centered (see screenshots below). This fixes it by using
flexbox
.Before
After