center more help modals
This commit is contained in:
parent
6423ae02b9
commit
6f718dbff4
|
@ -555,7 +555,7 @@ async function waitForSheet({
|
||||||
if (el) {
|
if (el) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
window.messageBoxProxy.show({
|
window.messageBoxProxy.show({
|
||||||
className: 'note',
|
className: 'note center-dialog',
|
||||||
contents: el.dataset.title || el.title,
|
contents: el.dataset.title || el.title,
|
||||||
buttons: [t('confirmClose')],
|
buttons: [t('confirmClose')],
|
||||||
});
|
});
|
||||||
|
|
|
@ -36,7 +36,7 @@ function initFilters() {
|
||||||
$('#search-help').onclick = event => {
|
$('#search-help').onclick = event => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
messageBoxProxy.show({
|
messageBoxProxy.show({
|
||||||
className: 'help-text',
|
className: 'help-text center-dialog',
|
||||||
title: t('search'),
|
title: t('search'),
|
||||||
contents:
|
contents:
|
||||||
$create('ul',
|
$create('ul',
|
||||||
|
|
|
@ -189,7 +189,7 @@ const sorter = (() => {
|
||||||
async function showHelp(event) {
|
async function showHelp(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
messageBoxProxy.show({
|
messageBoxProxy.show({
|
||||||
className: 'help-text',
|
className: 'help-text center-dialog',
|
||||||
title: t('sortStylesHelpTitle'),
|
title: t('sortStylesHelpTitle'),
|
||||||
contents:
|
contents:
|
||||||
$create('div',
|
$create('div',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user