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) {
event.preventDefault();
window.messageBoxProxy.show({
className: 'note',
className: 'note center-dialog',
contents: el.dataset.title || el.title,
buttons: [t('confirmClose')],
});

View File

@ -36,7 +36,7 @@ function initFilters() {
$('#search-help').onclick = event => {
event.preventDefault();
messageBoxProxy.show({
className: 'help-text',
className: 'help-text center-dialog',
title: t('search'),
contents:
$create('ul',

View File

@ -189,7 +189,7 @@ const sorter = (() => {
async function showHelp(event) {
event.preventDefault();
messageBoxProxy.show({
className: 'help-text',
className: 'help-text center-dialog',
title: t('sortStylesHelpTitle'),
contents:
$create('div',