fix: keep email list scrollable when bottom reading-pane is enabled with no conversation selected

This commit is contained in:
Kristofer Pettijohn
2026-07-04 14:59:32 +02:00
committed by Linus Rath
parent babacca482
commit d1da83a5d6
+3 -1
View File
@@ -2703,7 +2703,9 @@ export default function Home() {
<div
className={cn(
"relative flex flex-col bg-background",
isHorizontalMailLayout ? "md:w-full md:h-auto" : "h-full border-r border-border",
isHorizontalMailLayout
? (shouldHideHorizontalViewerPane ? "md:w-full md:min-h-0" : "md:w-full md:h-auto")
: "h-full border-r border-border",
// Mobile: full width, hidden when viewing email
"max-md:flex-1 max-md:border-r-0 max-md:border-b-0",
isMobile && activeView !== "list" && "max-md:hidden",