fix(player): fix shadow clipping

This commit is contained in:
sylenien 2022-08-11 16:09:25 +02:00 committed by Delirium
parent 3f14d4b766
commit 3cbd5e1154
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ function AddMetricContainer({ siteId }: any) {
);
};
return (
<div style={{ borderColor: 'rgb(238, 238, 238)', height: 300 }} className="bg-white border border-dashed rounded p-8 grid grid-cols-2 gap-8">
<div style={{ borderColor: 'rgb(238, 238, 238)', height: 285 }} className="bg-white border border-dashed rounded p-8 grid grid-cols-2 gap-8">
<AddMetricButton
title="+ Add custom Metric"
description="Metrics that are manually created by you or your team"

View file

@ -116,7 +116,7 @@ function AddPredefinedMetric({ categories, history, siteId, title, description }
</div>
<div
className="grid h-full grid-cols-4 gap-4 items-start py-1"
className="grid h-full grid-cols-4 gap-4 p-1 items-start"
style={{ maxHeight: 'calc(100vh - 160px)', overflowY: 'auto', flex: 9 }}
>
{activeCategory &&