resize batt in sbs

This commit is contained in:
legop3
2026-01-30 23:30:47 -05:00
parent c60cae75a4
commit 3997127e5e
4 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -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-CLITRLLE.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-C97A4E-6.css">
<script type="module" crossorigin src="/assets/index-CJ2tCddN.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BPUZmTmb.css">
</head>
<body>
<div id="root"></div>
+2 -2
View File
@@ -114,7 +114,7 @@ function InfoColumn({
) : null}
<div className="relative min-w-0 overflow-hidden bg-transparent px-0 py-0 leading-none">
<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}%`}
</AutoFitText>
</div>
@@ -309,7 +309,7 @@ function MiniSummaryContent() {
if (!driverRoster.length) {
return (
<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.map((rover, idx) => (
<InfoColumn