Skip to content

Commit 5f6c2a7

Browse files
authored
Merge pull request #471 from TheDarkSkyXD/fix/windows-ui-scrollbars
fix: prevent unwanted scrollbars in Windows/Tauri desktop app
2 parents 79a348e + 16d13cc commit 5f6c2a7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

interface/src/components/ConnectionScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function ConnectionScreen() {
8989
const isChecking = state === "checking";
9090

9191
return (
92-
<div className="flex h-screen w-screen flex-col items-center justify-center bg-app">
92+
<div className="flex h-screen w-full flex-col items-center justify-center bg-app overflow-hidden">
9393
{/* Draggable titlebar region for Tauri */}
9494
{IS_TAURI && (
9595
<div

interface/src/ui/style/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717
}
1818

19+
html, body {
20+
overflow: hidden;
21+
height: 100%;
22+
}
23+
1924
html {
2025
font-size: 106.25%;
2126
background: hsla(var(--color-app), 1);

0 commit comments

Comments
 (0)