Ich habe jetzt noch den zweiten, seitenweiten Overflow extra abgefangen:
All checks were successful
CI / Build (push) Successful in 1m15s
CI / Deploy (push) Successful in 53s

in globals.css mit overflow-x: hidden für die Seite
in dashboard-shell.tsx mit einer harten Breitenbegrenzung für den Übersichts-Scroll-Container und overflowX: "hidden" am Desktop-Wrapper
Damit soll auf Desktop nur noch der eine gewünschte horizontale Scroll im Übersichtsbereich übrig bleiben, nicht zusätzlich noch ein Browser-/Seiten-Scrollbar.
This commit is contained in:
Jan
2026-04-13 15:22:06 +02:00
parent 90ff8e8763
commit 13bc69c5b4
2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ html,
body {
margin: 0;
min-height: 100%;
overflow-x: hidden;
}
html {

View File

@@ -1963,6 +1963,9 @@ export function DashboardShell({
direction={isCompactLayout ? "column" : "row"}
gap={2}
sx={{
width: "100%",
minWidth: 0,
maxWidth: "100%",
overflowX: isCompactLayout ? "visible" : "auto",
overflowY: "hidden",
pb: isCompactLayout ? 0 : 2,
@@ -1996,9 +1999,9 @@ export function DashboardShell({
const desktopSectionContent =
desktopSection === "overview" ? (
<Stack direction={{ xs: "column", xl: "row" }} gap={3} alignItems="flex-start">
<Stack direction={{ xs: "column", xl: "row" }} gap={3} alignItems="flex-start" sx={{ minWidth: 0 }}>
<Box sx={{ width: { xs: "100%", xl: 380 }, flexShrink: 0 }}>{actionCards}</Box>
<Box sx={{ flex: 1, minWidth: 0 }}>{overviewContent}</Box>
<Box sx={{ flex: 1, minWidth: 0, maxWidth: "100%", overflowX: "hidden" }}>{overviewContent}</Box>
</Stack>
) : desktopSection === "periods" ? (
<Stack direction={{ xs: "column", xl: "row" }} gap={3} alignItems="flex-start">