mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
resize batt in sbs
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
@@ -11,8 +11,8 @@
|
|||||||
<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="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-CLITRLLE.js"></script>
|
<script type="module" crossorigin src="/assets/index-CJ2tCddN.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-C97A4E-6.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-BPUZmTmb.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ function InfoColumn({
|
|||||||
) : null}
|
) : null}
|
||||||
<div className="relative min-w-0 overflow-hidden bg-transparent px-0 py-0 leading-none">
|
<div className="relative min-w-0 overflow-hidden bg-transparent px-0 py-0 leading-none">
|
||||||
<div className="relative">
|
<div className="relative">
|
||||||
<AutoFitText className="font-semibold leading-none text-white" maxSize={1000} minSize={16}>
|
<AutoFitText className="font-semibold leading-none text-white" maxSize={80} minSize={16}>
|
||||||
{batteryPercent == null ? '--%' : `${batteryPercent}%`}
|
{batteryPercent == null ? '--%' : `${batteryPercent}%`}
|
||||||
</AutoFitText>
|
</AutoFitText>
|
||||||
</div>
|
</div>
|
||||||
@@ -309,7 +309,7 @@ function MiniSummaryContent() {
|
|||||||
if (!driverRoster.length) {
|
if (!driverRoster.length) {
|
||||||
return (
|
return (
|
||||||
<div className="relative flex h-screen w-screen overflow-hidden bg-black text-slate-100">
|
<div className="relative flex h-screen w-screen overflow-hidden bg-black text-slate-100">
|
||||||
<section className="flex h-full w-full gap-x-1">
|
<section className="flex h-full w-full gap-x-3 bg-slate-900 px-0">
|
||||||
{roster.length ? (
|
{roster.length ? (
|
||||||
roster.map((rover, idx) => (
|
roster.map((rover, idx) => (
|
||||||
<InfoColumn
|
<InfoColumn
|
||||||
|
|||||||
Reference in New Issue
Block a user