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