This commit is contained in:
legop3
2026-01-21 14:31:12 -05:00
parent 94c3939671
commit d2acd9f19a
3 changed files with 11 additions and 9 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<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-D3ANBnoQ.js"></script>
<script type="module" crossorigin src="/assets/index-CjWiRXRu.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CVAmzxlA.css">
</head>
<body>
+3 -1
View File
@@ -764,8 +764,9 @@ function OvercurrentOverlay({ motors, fill = 0, compact = false }) {
const fillWidth = `${Math.round(safeFill * 100)}%`;
return (
<div
className={`pointer-events-none absolute flex items-center justify-center bg-red-900/60 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 ${containerClass} relative`}
className={`pointer-events-none absolute flex items-center justify-center bg-red-900/60 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 ${containerClass}`}
>
<div className="relative w-full h-full flex items-center justify-center">
<div className="absolute inset-0 overflow-hidden">
<div className="h-full bg-red-700/60" style={{ width: fillWidth }} />
</div>
@@ -774,6 +775,7 @@ function OvercurrentOverlay({ motors, fill = 0, compact = false }) {
<div className={`mt-0 font-medium text-white ${subTextClass}`}>{safeLabels.join(', ')}</div>
</div>
</div>
</div>
);
}