dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.38k stars 3.49k forks source link

Adding next/prev arrows inside a Inline popup #163

Open johanholm opened 11 years ago

johanholm commented 11 years ago

Hi, Is there an easy way to place the navigation arrows inside a inline popup just like this one? http://codepen.io/dimsemenov/pen/sHoxp ?

I read in the DOCs and found this http://codepen.io/dimsemenov/pen/JGjHK But that only works for type:'image' ? What about 'inline' ?

johanholm commented 11 years ago

Anyone ?

Fischaela commented 10 years ago

I don't know, if this is interesting anymore, but I solved this with CSS. My inline-popup has a max-width of 1000px, so I changed the max-width of the inline-popup to 1000px, too.

// Make arrows not leave the tile .mfp-inline-holder .mfp-content { max-width: 1000px; }