fix: keep email list scrollable when bottom reading-pane is enabled with no conversation selected
This commit is contained in:
committed by
Linus Rath
parent
babacca482
commit
d1da83a5d6
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user