diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e3cf9cf..5981eeb 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -15,6 +15,8 @@ "title": "TutaBridge", "width": 700, "height": 520, + "minWidth": 700, + "minHeight": 520, "resizable": true, "center": true } diff --git a/ui/src/App.css b/ui/src/App.css index 3e61e92..18779c4 100644 --- a/ui/src/App.css +++ b/ui/src/App.css @@ -79,8 +79,17 @@ /* ── Content ── */ .app-content { flex: 1; - overflow-y: auto; + min-height: 0; + overflow: hidden; padding: 24px; + display: flex; + flex-direction: column; +} + +/* The single active panel fills the content area. */ +.app-content > * { + flex: 1; + min-height: 0; } /* ── Shared ── */ @@ -518,7 +527,7 @@ button.small { max-width: none; display: flex; flex-direction: column; - height: calc(100vh - 120px); + min-height: 0; } .logs-header { @@ -534,6 +543,7 @@ button.small { .logs-container { flex: 1; + min-height: 0; overflow-y: auto; background: var(--surface-container); border: 1px solid var(--outline-variant); diff --git a/ui/src/index.css b/ui/src/index.css index 889f111..c2f2ecb 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -77,14 +77,21 @@ } } +/* App is a fixed shell: no scrollbars anywhere. Scrollable regions (logs) + still scroll via wheel/keys, just without visible bars. */ * { box-sizing: border-box; + scrollbar-width: none; } -body { - margin: 0; +*::-webkit-scrollbar { + display: none; } +html, +body, #root { height: 100vh; + margin: 0; + overflow: hidden; }