From 86a88f0274c1cee2f29f99549b13a5cdd32ebdf2 Mon Sep 17 00:00:00 2001 From: agriyadev5 Date: Fri, 4 Jun 2021 11:07:01 +0530 Subject: [PATCH] #560 Adjust buttons to make this dialogbox consistent with V7 style --- src/editor/extensions/ext-storage/storageDialog.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/editor/extensions/ext-storage/storageDialog.js b/src/editor/extensions/ext-storage/storageDialog.js index 0ebe5d6a..6fee5e0d 100644 --- a/src/editor/extensions/ext-storage/storageDialog.js +++ b/src/editor/extensions/ext-storage/storageDialog.js @@ -21,7 +21,7 @@ template.innerHTML = ` text-align: center; left: 50%; top: 50%; - max-width: 400px; + max-width: 440px; z-index: 50001; background: #5a6162; border: 1px outset #777; @@ -60,12 +60,8 @@ template.innerHTML = `
- - + +
@@ -136,10 +132,10 @@ export class SeStorageDialog extends HTMLElement { } break; case 'common-ok': - this.$okBtn.append(newValue); + this.$okBtn.textContent = newValue; break; case 'common-cancel': - this.$cancelBtn.append(newValue); + this.$cancelBtn.textContent = newValue; break; case 'notify-editor_pref_msg': node = this._shadowRoot.querySelector('#notificationNote');