This commit is contained in:
legop3
2025-11-24 03:29:21 -05:00
parent 2f9349fb40
commit c11ffc750d
7 changed files with 10 additions and 14 deletions
+4 -8
View File
@@ -56,15 +56,11 @@ function useLayoutMode() {
function DesktopLayout({ layout }) {
return (
<div className="flex h-full gap-0.5 overflow-hidden">
<div className="flex min-h-0 min-w-0 flex-[1.8] flex-col gap-0.5 overflow-y-auto pr-0.5">
<div className="flex min-w-0 flex-[1.8] flex-col gap-0.5 overflow-y-auto pr-0.5">
<DriverVideoPanel />
<div className="grid grid-cols-2 gap-0.5 h-48 overflow-hidden min-h-0">
<div className="h-full min-h-0">
<UserListPanel fillParent />
</div>
<div className="h-full min-h-0">
<ChatPanel fillParent />
</div>
<div className="grid grid-cols-2 gap-0.5">
<UserListPanel />
<ChatPanel />
</div>
<LogPanel />
</div>
+1 -1
View File
@@ -58,7 +58,7 @@ export default function ChatPanel({ hideInput = false, hideSpectatorNotice = fal
}
const listClass = fillParent
? 'flex-1 min-h-[8rem] min-h-0'
? 'flex-1 min-h-[8rem]'
: 'h-48';
return (
+1 -1
View File
@@ -91,7 +91,7 @@ export default function UserListPanel({ hideNicknameForm = false, hideHeader = f
return Math.ceil(ms / 1000);
}, []);
const listClass = fillParent ? 'flex-1 min-h-[8rem] min-h-0' : 'h-48';
const listClass = fillParent ? 'flex-1 min-h-[8rem]' : 'h-48';
return (
<section