fix: preserve dashboard heading flow
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
|||||||
Button,
|
Button,
|
||||||
Card,
|
Card,
|
||||||
MetricCard,
|
MetricCard,
|
||||||
|
PageScrollViewport,
|
||||||
PageTitle,
|
PageTitle,
|
||||||
dashboardWidgetsForModules,
|
dashboardWidgetsForModules,
|
||||||
hasAnyScope,
|
hasAnyScope,
|
||||||
@@ -73,7 +74,8 @@ export default function DashboardPage({ settings, auth }: { settings: ApiSetting
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="content-pad workspace-data-page dashboard-page">
|
<PageScrollViewport className="dashboard-page">
|
||||||
|
<div className="content-pad workspace-data-page">
|
||||||
<div className="page-heading split workspace-heading">
|
<div className="page-heading split workspace-heading">
|
||||||
<div>
|
<div>
|
||||||
<PageTitle>i18n:govoplan-dashboard.dashboard.3f8b4df2</PageTitle>
|
<PageTitle>i18n:govoplan-dashboard.dashboard.3f8b4df2</PageTitle>
|
||||||
@@ -127,7 +129,8 @@ export default function DashboardPage({ settings, auth }: { settings: ApiSetting
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>);
|
</div>
|
||||||
|
</PageScrollViewport>);
|
||||||
}
|
}
|
||||||
|
|
||||||
function canUseWidget(auth: AuthInfo, widget: DashboardWidgetContribution): boolean {
|
function canUseWidget(auth: AuthInfo, widget: DashboardWidgetContribution): boolean {
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
.dashboard-page {
|
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-page .card + .dashboard-widget-grid {
|
.dashboard-page .card + .dashboard-widget-grid {
|
||||||
margin-top: 18px;
|
margin-top: 18px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user