diff --git a/src/App.css b/src/App.css index 8658d2b..a92d441 100644 --- a/src/App.css +++ b/src/App.css @@ -116,6 +116,11 @@ pre { button { width: 100%; } + + .dashboard-summary-card { + position: static; + top: auto; + } } @keyframes dashboard-row-glow { @@ -136,3 +141,9 @@ pre { .dashboard-row-highlight { animation: dashboard-row-glow 2.5s ease forwards; } + +.dashboard-summary-card { + position: sticky; + top: 1rem; + z-index: 10; +} diff --git a/src/components/DashboardView.js b/src/components/DashboardView.js index b749a41..79b8299 100644 --- a/src/components/DashboardView.js +++ b/src/components/DashboardView.js @@ -95,7 +95,7 @@ const DashboardView = ({ return (

Foodsharing Pickup Manager

-
+

Angemeldet