Tweak: adjust chart height
This commit is contained in:
parent
ac39ffdc2f
commit
d4a3b6067a
@ -63,3 +63,7 @@ dialog ::-webkit-scrollbar {
|
|||||||
::-webkit-details-marker {
|
::-webkit-details-marker {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chart + .chart {
|
||||||
|
margin-top: 36px;
|
||||||
|
}
|
||||||
|
|||||||
@ -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" />}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user