fix(ui): fix slowestdomains widget height

This commit is contained in:
sylenien 2022-06-29 16:40:31 +02:00
parent 53c2f37d8a
commit 2e2e8a5e8b

View file

@ -15,7 +15,7 @@ function SlowestDomains(props: Props) {
<NoContent
size="small"
show={ metric.data.chart.length === 0 }
style={{ height: '240px' }}
style={{ maxHeight: '240px' }}
>
<div className="w-full" style={{ height: '240px' }}>
{metric.data.chart.map((item, i) =>
@ -33,4 +33,4 @@ function SlowestDomains(props: Props) {
);
}
export default SlowestDomains;
export default SlowestDomains;