fix modal dialog css
This commit is contained in:
parent
da353c4f8a
commit
edf763e2d3
1 changed files with 3 additions and 3 deletions
|
|
@ -79,15 +79,15 @@
|
||||||
let rnd = Date.now().toString(36);
|
let rnd = Date.now().toString(36);
|
||||||
let any = $('mod-any');
|
let any = $('mod-any');
|
||||||
let html = [
|
let html = [
|
||||||
`<div class="confirm col a-stretch">`,
|
`<div class="confirm f-col a-stretch">`,
|
||||||
`<label>${message}</label>`,
|
`<label style="user-select:text">${message}</label>`,
|
||||||
];
|
];
|
||||||
let iid;
|
let iid;
|
||||||
if (input !== undefined) {
|
if (input !== undefined) {
|
||||||
iid = `confirm-input-${rnd}`;
|
iid = `confirm-input-${rnd}`;
|
||||||
html.append(`<div><input class="grow" type="text" spellcheck="false" value="${input}" id="${iid}"/></div>`);
|
html.append(`<div><input class="grow" type="text" spellcheck="false" value="${input}" id="${iid}"/></div>`);
|
||||||
}
|
}
|
||||||
html.append(`<div class="row j-end">`);
|
html.append(`<div class="f-row j-end">`);
|
||||||
Object.entries(btns).forEach((row,i) => {
|
Object.entries(btns).forEach((row,i) => {
|
||||||
html.append(`<button id="confirm-${i}-${rnd}">${row[0]}</button>`);
|
html.append(`<button id="confirm-${i}-${rnd}">${row[0]}</button>`);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue