Skip to content

fix: footer overlap with left navigation panel on specific pages#554

Open
NeerajPise wants to merge 5 commits intotenstorrent:devfrom
NeerajPise:dev-neeraj/543-fix-overlapping-footer
Open

fix: footer overlap with left navigation panel on specific pages#554
NeerajPise wants to merge 5 commits intotenstorrent:devfrom
NeerajPise:dev-neeraj/543-fix-overlapping-footer

Conversation

@NeerajPise
Copy link
Contributor

@NeerajPise NeerajPise commented Dec 1, 2025

Problem

The footer was overlapping with the left navigation panel on pages like /image-generation and /chat, causing visual conflicts and poor UX. The footer used a fixed left-0 position that spanned the full viewport width, ignoring the 64px wide left NavBar. Additionally, the system resource usage section was overflowing on the right side due to excessive spacing on mobile view.

Solution

Implemented dynamic footer positioning based on the current route and screen size using a getFooterLeftClass() function that:

  1. Chat page (/chat):
    - Mobile: Full-width footer (left-0)
    - Desktop: Offset footer to account for 64px NavBar (left-0 md:left-16)
  2. Image generation (/image-generation):
    - All screen sizes: Offset footer by 64px (left-16)
  3. Other pages:
    - All screen sizes: Full-width footer (left-0)

Reduced right section spacing from space-x-6 to space-x-2 to prevent system resource text overflow.

Fixes #543

Tests

  • Footer properly aligned on /image-generation page
  • Footer responsive on /chat page (full-width mobile, offset desktop)
  • Footer remains full-width on other pages
  • Both loading and normal footer states behave correctly

@anirudTT anirudTT added the community Community-driven issues and suggestions. label Jan 8, 2026
@anirudTT anirudTT self-assigned this Jan 12, 2026
@anirudTT anirudTT requested review from anirudTT and Copilot and removed request for Copilot January 12, 2026 23:16
@anirudTT anirudTT requested a review from rfatimaTT March 10, 2026 20:19
@anirudTT anirudTT assigned rfatimaTT and unassigned anirudTT Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Community-driven issues and suggestions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants