You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently updated from nyroModal 1.6.2 to v2 and I'm having trouble getting my modal windows to look how they used to.
I can't seem to get a window with 0 padding within it, or the specific size I want. My old code was:
$.nyroModalSettings({
padding: 0,
height: 600,
width: 600
});
I'm trying to do the same with the sizes property but it doesn't seem to work:
$('.nyroModal').nyroModal({
sizes: {
initW: 600,
initH: 600,
w: 600,
h: 600,
minW: 600,
minH: 600,
wMargin: 0,
hMargin: 0
}
});
The text was updated successfully, but these errors were encountered:
The padding is now set by CSS, in the margin value of .nyroModalCont.
In the sizes object, only the minW and minH properties can be used to parameter the minumum sizes of the element. The othere values are overwritten by the code.
I've recently updated from nyroModal 1.6.2 to v2 and I'm having trouble getting my modal windows to look how they used to.
I can't seem to get a window with 0 padding within it, or the specific size I want. My old code was:
$.nyroModalSettings({
padding: 0,
height: 600,
width: 600
});
I'm trying to do the same with the sizes property but it doesn't seem to work:
$('.nyroModal').nyroModal({
sizes: {
initW: 600,
initH: 600,
w: 600,
h: 600,
minW: 600,
minH: 600,
wMargin: 0,
hMargin: 0
}
});
The text was updated successfully, but these errors were encountered: