fix(ui): fix weird scrolling
This commit is contained in:
parent
ff02248900
commit
fcd79a6fb7
1 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ function DashboardMetricSelection(props) {
|
|||
</div>
|
||||
<div className="grid grid-cols-12 gap-4">
|
||||
<div className="col-span-3">
|
||||
<div className="grid grid-cols-1 gap-4 py-1" style={{ maxHeight: "calc(100vh - 165px)", overflowY: 'auto' }}>
|
||||
<div className="grid grid-cols-1 gap-4 py-1" style={{ maxHeight: "calc(100vh - 300px)", overflowY: 'auto' }}>
|
||||
{activeCategory && widgetCategories.map((category, index) =>
|
||||
<WidgetCategoryItem
|
||||
key={category.name}
|
||||
|
|
@ -95,7 +95,7 @@ function DashboardMetricSelection(props) {
|
|||
<div className="col-span-9">
|
||||
<div
|
||||
className="grid grid-cols-4 gap-4 -mx-4 px-4 pb-40 items-start py-1"
|
||||
style={{ maxHeight: "calc(100vh - 165px)", overflowY: 'auto' }}
|
||||
style={{ maxHeight: "calc(100vh - 170px)", overflowY: 'auto' }}
|
||||
>
|
||||
{activeCategory && activeCategory.widgets.map((widget: any) => (
|
||||
<WidgetWrapper
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue