mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
longer readtime. also chat fix. also descriptions in roster
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||||
<title>Roomba Rover</title>
|
<title>Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-D73ka6iH.js"></script>
|
<script type="module" crossorigin src="/assets/index-kU9Gcmps.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-D-TUqmtz.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-D-TUqmtz.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ export default function ChatMessageRow({ message }) {
|
|||||||
<div className={chatRowClass(message)}>
|
<div className={chatRowClass(message)}>
|
||||||
<ChatIdentity message={message} />
|
<ChatIdentity message={message} />
|
||||||
<span
|
<span
|
||||||
className={`w-full break-words leading-tight whitespace-pre-wrap ${isBot ? 'text-emerald-100' : 'text-slate-100'}`}
|
className={`min-w-0 break-words leading-tight whitespace-pre-wrap ${isBot ? 'text-emerald-100' : 'text-slate-100'}`}
|
||||||
>
|
>
|
||||||
{message.text}
|
{message.text}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -145,11 +145,16 @@ export default function RoverQueuesPanel({ title = 'Rovers' }) {
|
|||||||
>
|
>
|
||||||
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
|
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
|
||||||
<div className="flex items-center justify-between gap-0.5">
|
<div className="flex items-center justify-between gap-0.5">
|
||||||
<div className="flex items-center gap-0.5">
|
<div className="flex min-w-0 items-center gap-0.5">
|
||||||
<p className="text-slate-200">
|
<p className="min-w-0 flex items-center gap-0.5 whitespace-nowrap text-slate-200">
|
||||||
<span className="rounded px-1 py-[1px] border border-transparent" style={roverNameChromeStyle(rover.color, 0.16)}>
|
<span className="rounded px-1 py-[1px] border border-transparent" style={roverNameChromeStyle(rover.color, 0.16)}>
|
||||||
{rover.name}
|
{rover.name}
|
||||||
</span>
|
</span>
|
||||||
|
{rover.description ? (
|
||||||
|
<span className="min-w-0 flex-1 truncate text-[0.7rem] text-slate-400">
|
||||||
|
{rover.description}
|
||||||
|
</span>
|
||||||
|
) : null}
|
||||||
</p>
|
</p>
|
||||||
{showTimer ? (
|
{showTimer ? (
|
||||||
<span className="rounded bg-slate-800 px-1 text-[0.7rem] text-slate-200">
|
<span className="rounded bg-slate-800 px-1 text-[0.7rem] text-slate-200">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
|
|
||||||
const LARGE_VISIBLE_MS = 3500;
|
const LARGE_VISIBLE_MS = 6000;
|
||||||
const LARGE_FADE_MS = 700;
|
const LARGE_FADE_MS = 700;
|
||||||
|
|
||||||
export default function RoverDescriptionOverlay({
|
export default function RoverDescriptionOverlay({
|
||||||
|
|||||||
Reference in New Issue
Block a user