Use flex to center #message-box (#1271)
* Use flex to center #message-box - Resolves #1270 - See details on the issue mentioned. * Use existing .center * Remove center rule at non-center selector
This commit is contained in:
		
							parent
							
								
									9e72784b2a
								
							
						
					
					
						commit
						a2c8953e63
					
				|  | @ -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