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