From 1e563a89733f897efba461c42bc08afc76320463 Mon Sep 17 00:00:00 2001 From: Matthieu MALVACHE Date: Thu, 2 Oct 2025 14:48:45 +0200 Subject: [PATCH] fix: Fix sidebar footer overflow causing page height extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add overflow-hidden to sidebar container to prevent absolute positioned menu from extending page height - Improve theme consistency in email viewer security indicators - Add AI spam analysis display (X-Spam-LLM header support) - Enhance dark mode support with better color variables - Update CLAUDE.md with commit/push guidelines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- CLAUDE.md | 3 +- TODO.md | 1 + app/[locale]/layout.tsx | 20 ++++++ app/globals.css | 2 + components/email/email-viewer.tsx | 109 ++++++++++++++++++++---------- components/layout/sidebar.tsx | 2 +- lib/email-headers.ts | 42 ++++++++---- lib/jmap/types.ts | 6 +- 8 files changed, 134 insertions(+), 51 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 8ffc13b..0be4722 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -45,4 +45,5 @@ This project uses **next-intl** for internationalization with support for Englis 8. **User preference**: Language selection is persisted and overrides browser detection - When you are not sure, check the official documentation online. -- Always use last versions. Reduce external dependencies as well (less is better). \ No newline at end of file +- Always use last versions. Reduce external dependencies as well (less is better). +- Only commit/push when I confirm the issue/task you are working on is ok. \ No newline at end of file diff --git a/TODO.md b/TODO.md index 96ec747..8171715 100644 --- a/TODO.md +++ b/TODO.md @@ -204,4 +204,5 @@ - [x] Fixed plain text emails displaying on one line (smart HTML/text version selection) - [x] Fixed light mode not applying properly (replaced hardcoded colors with CSS variables) - [x] Fixed all hardcoded colors in email viewer for proper theme support +- [x] Fixed sidebar footer menu extending page height when scrolling (overflow containment) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index a5a4511..12c881f 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -43,6 +43,26 @@ export default async function LocaleLayout({ return ( + +