mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
h48
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,8 +11,8 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-BP_oTuNY.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-B9t5gasU.css">
|
||||
<script type="module" crossorigin src="/assets/index-DgotvrBo.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BKtEz15p.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
+8
-4
@@ -56,11 +56,15 @@ function useLayoutMode() {
|
||||
function DesktopLayout({ layout }) {
|
||||
return (
|
||||
<div className="flex h-full gap-0.5 overflow-hidden">
|
||||
<div className="flex min-w-0 flex-[1.8] flex-col gap-0.5 overflow-y-auto pr-0.5">
|
||||
<div className="flex min-h-0 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 max-h-[50vh]">
|
||||
<UserListPanel fillParent />
|
||||
<ChatPanel fillParent />
|
||||
<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>
|
||||
<LogPanel />
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ export default function ChatPanel({ hideInput = false, hideSpectatorNotice = fal
|
||||
}
|
||||
|
||||
const listClass = fillParent
|
||||
? 'flex-1 min-h-[8rem]'
|
||||
? 'flex-1 min-h-[8rem] min-h-0'
|
||||
: '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]' : 'h-48';
|
||||
const listClass = fillParent ? 'flex-1 min-h-[8rem] min-h-0' : 'h-48';
|
||||
|
||||
return (
|
||||
<section
|
||||
|
||||
Reference in New Issue
Block a user