Skip to content

Commit

Permalink
fix(battery): make sure all battery circles are always the same size, c…
Browse files Browse the repository at this point in the history
…loses #406
  • Loading branch information
mman committed Sep 12, 2024
1 parent 8afbb6a commit 8eb1f86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const BatterySummary: FC<Props> = ({ battery, boxSize }) => {
}

return (
<div className="flex flex-col justify-center items-center w-full h-full">
<div className="flex flex-col min-w-0 justify-center items-center w-full h-full">
<ProgressCircle percentage={battery.soc ?? null} boxSize={size}>
<BatteryValues battery={battery} boxSize={size} />
</ProgressCircle>
Expand Down

0 comments on commit 8eb1f86

Please sign in to comment.