mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
aaahghg
This commit is contained in:
+4
-8
@@ -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>
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user