diff --git a/app/index.html b/app/index.html index 69a0987..03f4db1 100644 --- a/app/index.html +++ b/app/index.html @@ -3020,6 +3020,7 @@ display: flex; align-items: center; justify-content: space-between; + gap: 0.75rem; flex-shrink: 0; } @@ -3027,16 +3028,25 @@ display: flex; align-items: center; gap: 0.75rem; + min-width: 0; + flex: 1; + overflow: hidden; } .terminal-host-name { font-weight: 600; color: #fff; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .terminal-host-ip { color: #9ca3af; font-size: 0.875rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .terminal-status-badge { @@ -3059,6 +3069,7 @@ .terminal-header-actions { display: flex; gap: 0.5rem; + flex-shrink: 0; } .terminal-btn { diff --git a/app/main.js b/app/main.js index 8ff4c45..8fa622a 100644 --- a/app/main.js +++ b/app/main.js @@ -10327,10 +10327,23 @@ class DashboardManager { } // Create iframe for terminal + // Use embed mode so the connect page can hide its own header/pwa hint + // and let the drawer UI be the single source of controls. + const embeddedUrl = (() => { + try { + const url = new URL(session.url, window.location.origin); + url.searchParams.set('embed', '1'); + return url.toString(); + } catch (e) { + // Fallback for relative URLs + return session.url + (session.url.includes('?') ? '&' : '?') + 'embed=1'; + } + })(); + body.innerHTML = `