center more help modals

This commit is contained in:
tophf 2021-08-12 16:33:40 +03:00
parent 6423ae02b9
commit 6f718dbff4
3 changed files with 3 additions and 3 deletions

View File

@ -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')],
}); });

View File

@ -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',

View File

@ -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',