tao52525 / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

#simplemodal-wrap overflow auti #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Any particular reason why #simplemodal-wrap have overflow: auto;? I find it 
rather annoying having to overwrite it with !important, would be great if this 
was either in settings on in css..

Original issue reported on code.google.com by fox...@gmail.com on 10 Jan 2011 at 1:30

GoogleCodeExporter commented 8 years ago
Ooops, it's actually .simplemodal-wrap not id.

Original comment by fox...@gmail.com on 10 Jan 2011 at 1:32

GoogleCodeExporter commented 8 years ago
I think you can also add:

onShow: function(dialog){ dialog.wrap.css('overflow','hidden'); }

to the modal options.

Original comment by allan.ro...@enthink.com on 7 Jan 2013 at 5:46