Use existing .center
This commit is contained in:
parent
b156811be6
commit
117a067bbe
|
@ -19,6 +19,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#message-box > div {
|
#message-box > div {
|
||||||
|
top: 3rem;
|
||||||
|
right: 3rem;
|
||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
max-width: 50vw;
|
max-width: 50vw;
|
||||||
min-height: 5rem;
|
min-height: 5rem;
|
||||||
|
|
|
@ -209,6 +209,7 @@ async function importFromString(jsonString) {
|
||||||
contents: $create('#import', report.length ? report : t('importReportUnchanged')),
|
contents: $create('#import', report.length ? report : t('importReportUnchanged')),
|
||||||
buttons: [t('confirmClose'), numChanged && t('undo')],
|
buttons: [t('confirmClose'), numChanged && t('undo')],
|
||||||
onshow: bindClick,
|
onshow: bindClick,
|
||||||
|
className: 'center',
|
||||||
})
|
})
|
||||||
.then(({button}) => {
|
.then(({button}) => {
|
||||||
if (button === 1) {
|
if (button === 1) {
|
||||||
|
|
|
@ -224,6 +224,7 @@ async function showUpdateHistory(event) {
|
||||||
messageBoxProxy.show({
|
messageBoxProxy.show({
|
||||||
title: t('updateCheckHistory'),
|
title: t('updateCheckHistory'),
|
||||||
contents: log,
|
contents: log,
|
||||||
|
className: 'center',
|
||||||
blockScroll: true,
|
blockScroll: true,
|
||||||
buttons: [
|
buttons: [
|
||||||
t('confirmOK'),
|
t('confirmOK'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user