mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21: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-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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user