Tweak: adjust chart height

This commit is contained in:
shamoon 2024-12-20 19:45:54 -08:00
parent ac39ffdc2f
commit d4a3b6067a
2 changed files with 5 additions and 1 deletions

View File

@ -63,3 +63,7 @@ dialog ::-webkit-scrollbar {
::-webkit-details-marker { ::-webkit-details-marker {
display: none; display: none;
} }
.chart + .chart {
margin-top: 36px;
}

View File

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