fix(ui): fix grid rows height
This commit is contained in:
parent
3cbd5e1154
commit
c9338fd116
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ function AddMetric({ metrics, history, siteId, title, description }: IProps) {
|
|||
)}
|
||||
</div>
|
||||
|
||||
<div className="grid h-full grid-cols-4 gap-4 px-8 items-start py-1" style={{ maxHeight: 'calc(100vh - 160px)', overflowY: 'auto' }}>
|
||||
<div className="grid h-full grid-cols-4 gap-4 px-8 items-start py-1" style={{ maxHeight: 'calc(100vh - 160px)', overflowY: 'auto', gridTemplateRows: 'max-content' }}>
|
||||
{metrics ? metrics.map((metric: any) => (
|
||||
<WidgetWrapper
|
||||
key={metric.metricId}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue