jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Min and Max Width

Open JeffBurrows opened this issue 5 years ago • 3 comments

jquery-confirm version: v3.3.4

I'm submitting a ... (check one with "x") [ ] bug report [ X] feature request [ ] support request

I like this little library a lot. Just a suggestion - I modified my copy of your code to include a MinWidth and MaxWidth properties (and added the functions just like your setBoxWidth.

The advantage to this was better responsiveness. If you set width at 75%, this may be great on a small screen, but look silly on a big screen. Reversely true of, say 40%. I like being about to set, for instance, 500px as the MaxWidth and 240 as the MinWidth. This makes for good popups on phone or desktop.

JeffBurrows avatar Feb 07 '20 15:02 JeffBurrows

How can we use setBoxWidth for a dialog? which property have set and how to set? Width is fixed as of now.

Anshi16 avatar Feb 12 '20 14:02 Anshi16

I modified my copy of your code to include a MinWidth and MaxWidth properties (and added the functions just like your setBoxWidth.

Can you share your changes? This update is badly needed.

maryjos avatar Apr 30 '20 03:04 maryjos

+1 for sharing

Hizoka76 avatar Jun 08 '20 10:06 Hizoka76