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

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

No files matched your search

+2 -2
View File
@@ -18,9 +18,9 @@ export default function Container({ children, widget, error = null, chart = true
}
return (
<div className={classNames("service-container", chart ? "chart relative h-[120px]" : "")}>
<div className={classNames("service-container", chart ? "chart relative h-[68px]" : "")}>
{children}
<div className={`absolute top-0 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} />
<div className={`absolute -top-10 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} />
{chart && <div className="h-[68px] overflow-clip" />}
{!chart && <div className="h-[16px] overflow-clip" />}
</div>