Fix: overflow-x-hidden von Wrapper/Main entfernt — schnitt rechte Seite ab
continuous-integration/drone/push Build is passing

Nur noch overflow-x:clip auf #root + overflowX:clip auf TaskCard-Wrapper.
Die gestapelten overflow-hidden auf 3 Ebenen haben Content rechts abgeschnitten.
This commit is contained in:
NotiBot
2026-02-03 17:00:19 +01:00
parent 1f314b60aa
commit 08a9e349f2
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -349,7 +349,7 @@ function AppContent() {
<SidebarProvider>
<AppSidebar user={user} />
<SidebarInset>
<div className={`min-h-screen bg-background flex flex-col min-w-0 overflow-x-hidden ${adhdEnabled ? 'adhd-mode' : ''} ${adhdEnabled && adhdSettings.reducedAnimations ? 'reduced-motion' : ''} ${adhdEnabled && adhdSettings.largerTargets ? 'larger-targets' : ''}`}>
<div className={`min-h-screen bg-background flex flex-col min-w-0 ${adhdEnabled ? 'adhd-mode' : ''} ${adhdEnabled && adhdSettings.reducedAnimations ? 'reduced-motion' : ''} ${adhdEnabled && adhdSettings.largerTargets ? 'larger-targets' : ''}`}>
{/* Mobile Header with Sidebar Toggle */}
<header className="sticky top-0 z-50 flex items-center gap-3 px-4 py-3 bg-background/80 backdrop-blur-xl border-b border-border/50 md:hidden">
<SidebarTrigger className="h-9 w-9" />
@@ -360,7 +360,7 @@ function AppContent() {
<span className="font-bold text-lg">{t('app.title')}</span>
</div>
</header>
<main className="flex-1 p-4 md:p-6 max-w-screen-2xl mx-auto w-full relative overflow-x-hidden">
<main className="flex-1 p-4 md:p-6 max-w-screen-2xl mx-auto w-full relative">
<Switch>
<Route path="/">
<FocusMode
+3 -3
View File
@@ -2,10 +2,10 @@
@tailwind components;
@tailwind utilities;
/* Prevent horizontal scroll globally */
html, body, #root {
/* Prevent horizontal scroll globally — only on root, not nested containers */
#root {
overflow-x: clip;
overscroll-behavior-x: none;
max-width: 100vw;
}
/* LIGHT MODE */