Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does FancyBox have a minimum height?

I've run into an issue with FancyBox. I upgraded to V2 and now my FancyBoxes appear to be 200px. I used to be able to have FBs that were only 50 - 60 px tall because there was only one line of text. What happened?

I've tried (separately, not at the same time) adding the following to the setup for the FB:

autoSize: true
height: 60
height: '60px'
autoDimensions: true

Ideas?

like image 659
Andrew Christensen Avatar asked Sep 12 '25 23:09

Andrew Christensen


1 Answers

The new version of Fancybox (v2.x) has now these options with these default values:

minWidth: 200,
minHeight: 200,

but you can modify them as your convenience within your custom script

Check the documentation here

like image 182
JFK Avatar answered Sep 14 '25 19:09

JFK