fix: PWA scrolling on RepoDetail page

This commit is contained in:
Chris Scott committed 2025-12-05 07:17:27 -08:00
1 parent d197ab97ff
commit fef761c860
1 file changed
+3 -3
+3 -3
View File
@@ -91,8 +91,8 @@ export function RepoDetail() {
const currentBranch = repo.currentBranch || "main";
return (
<div className="h-screen bg-gradient-to-br from-background via-background to-background flex flex-col">
<div className="sticky top-0 z-10 border-b border-border bg-gradient-to-b from-background via-background to-background backdrop-blur-sm px-4 py-2">
<div className="h-dvh max-h-dvh overflow-hidden bg-gradient-to-br from-background via-background to-background flex flex-col">
<div className="flex-shrink-0 z-10 border-b border-border bg-gradient-to-b from-background via-background to-background backdrop-blur-sm px-4 py-2">
<div className="flex items-center justify-between">
<div className="flex items-center gap-3">
<BackButton />
@@ -149,7 +149,7 @@ export function RepoDetail() {
</div>
</div>
<div className="flex-1 overflow-hidden min-h-0">
<div className="flex-1 flex flex-col min-h-0">
{opcodeUrl && repoDirectory && (
<SessionList
opcodeUrl={opcodeUrl}