Fix css centering on mobile#268
Conversation
|
I don't know how minifying css is done (didn't use Grunt in a looong time) but it looks like 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. Even if it's the default modal behaviour, the result would be nicer if the image was centred vertically :) |
RafaPolit
left a comment
There was a problem hiding this comment.
There is an un-closed bracket on the CSS file, probably on line 12.
If you meant to include everything inside the container, then the indentation and bracketing is still wrong.
On some mobiles the modal is not centered (see screenshots below).
This fixes it by using
flexbox.Before
After