From 45686397189cdd58d4cddaf74f084a9f20a7c45f Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Sat, 16 May 2026 16:57:35 -0700 Subject: [PATCH] Adjust PuterDialog footer and button spacing --- src/puter-js/src/modules/PuterDialog.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/puter-js/src/modules/PuterDialog.js b/src/puter-js/src/modules/PuterDialog.js index 335780294..5fbfc19c8 100644 --- a/src/puter-js/src/modules/PuterDialog.js +++ b/src/puter-js/src/modules/PuterDialog.js @@ -119,7 +119,7 @@ class PuterDialog extends (globalThis.HTMLElement || Object) { // It will fall b } .launch-auth-popup-footnote{ - font-size: 11px; + font-size: 10px; color: #666; margin-top: 10px; /* footer at the bottom */ @@ -128,7 +128,8 @@ class PuterDialog extends (globalThis.HTMLElement || Object) { // It will fall b right: 0; bottom: 20px; text-align: center; - margin: 0 10px; + margin: 0 auto; + max-width: 215px; } dialog .close-btn{ @@ -412,6 +413,10 @@ class PuterDialog extends (globalThis.HTMLElement || Object) { // It will fall b .error-container h1 { color: #ff7466; } + + dialog .buttons{ + margin-bottom: 20px; + } } `; // Error message for unsupported protocol