fix: standardize direct page scroll viewports

This commit is contained in:
2026-07-28 22:50:11 +02:00
parent 324c26da78
commit 53e947935a
6 changed files with 67 additions and 32 deletions
@@ -1,5 +1,6 @@
import Card from "../../components/Card";
import MetricCard from "../../components/MetricCard";
import PageScrollViewport from "../../components/PageScrollViewport";
import PageTitle from "../../components/PageTitle";
import { usePlatformModules } from "../../platform/ModuleContext";
@@ -7,7 +8,8 @@ export default function DashboardPage() {
const modules = usePlatformModules();
return (
<div className="content-pad workspace-data-page core-dashboard-page">
<PageScrollViewport className="core-dashboard-page">
<div className="content-pad workspace-data-page">
<div className="page-heading split workspace-heading">
<div>
<PageTitle>i18n:govoplan-core.dashboard.d87f47b4</PageTitle>
@@ -37,7 +39,8 @@ export default function DashboardPage() {
<p className="muted">This minimal core home is only shown while no dashboard WebUI module is available. Feature modules own their pages and can expose dashboard widgets once the dashboard module is installed.</p>
</Card>
</div>
</div>);
</div>
</PageScrollViewport>);
}