craftpip / jquery-confirm

A multipurpose plugin for alert, confirm & dialog, with extended features.

Home Page:http://craftpip.github.io/jquery-confirm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

width is not being set properly

bksubhuti opened this issue · comments

v3.3.4 version:
v3.x.x

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

Current behavior:

The first time I ran the code it worked. then it was full screen width
I tried using small and box qualities but it did not work

Expected behavior:

want the small box which is default and works on sample

Steps to reproduce:
I included the code in dist folder and used this code.

	$.confirm({
		title: 'Tpp',
		content: 'Reload Session?',
		escapeKey: true,
		buttons: {
			confirm: function () {
				PaliHistoryGoUrl(strLastHistory);
			},
			cancel: function () {
				;
			}
		}
	});

// tried putting before the buttons.
//boxWidth: '30%',

// or this columnClass: 'small',

Related code:

insert any relevant code here

Other information:

How to make it smaller? I don't understand what happened.
It worked fine the very first time but now always too wide.
(full screen width)

It seems that if I include

(copied to my project). It works with a small box as the demo has .. however, it changes the style of the whole project too. So I still need help. These were included in the index.html from the npm install i did (but we prefer to include js locally without node)