Tweak: again trying to restore chart sizing in 0.10.x (#4479)

This commit is contained in:
shamoon
2024-12-23 13:37:48 -08:00
committed by GitHub
parent 2d91b2b748
commit 94936ed09d
7 changed files with 25 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ export default function Component({ service }) {
return (
<Container chart={chart}>
{chart && (
<div className="absolute top-0 left-0 right-0 bottom-0">
<div className="absolute -top-2 -left-2 -right-2 -bottom-2">
<div
style={{
height: `${Math.max(20, fsData.size / fsData.free)}%`,