mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Improve Update confirmation modal size
This commit is contained in:
1 parent
748cd1581e
commit
10ce2443c0
1 file changed
+5
-1
@@ -3951,7 +3951,11 @@ window.KefinTweaksConfig = ${JSON.stringify(configToBackup, null, 2)};`;
|
||||
closeOnBackdrop: true,
|
||||
closeOnEscape: true,
|
||||
showCloseButton: true,
|
||||
fixedSize: true,
|
||||
fixedSize: false,
|
||||
dialogStyle: {
|
||||
width: 'min(28rem, calc(100vw - 2rem))',
|
||||
maxWidth: '28rem'
|
||||
},
|
||||
onOpen: (modal) => {
|
||||
modal.dialogFooter?.querySelector('#hsc-update-all-cancel')?.addEventListener('click', () => {
|
||||
window.ModalSystem.close(UPDATE_ALL_CONFIRM_MODAL_ID);
|
||||
|
||||
Reference in new issue
Block a user