Skip to content

Fix: page overflow by moving netlify badge to specific route groups#639

Merged
jthrilly merged 2 commits intomainfrom
fix/netlify-logo
Feb 26, 2026
Merged

Fix: page overflow by moving netlify badge to specific route groups#639
jthrilly merged 2 commits intomainfrom
fix/netlify-logo

Conversation

@buckhalt
Copy link
Member

moved to dashboard and blobs

@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fresco-sandbox Ready Ready Preview, Comment Feb 19, 2026 3:58pm

Request Review

@buckhalt buckhalt requested a review from Copilot February 19, 2026 15:46
@buckhalt buckhalt changed the title fix: page overflow by moving netlify badge to specific route groups Fix: page overflow by moving netlify badge to specific route groups Feb 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a page overflow issue by extracting the Netlify badge from the root layout and placing it in specific route group layouts (dashboard and blobs). The badge now only appears on admin-facing pages in sandbox mode, while being removed from interview and other routes.

Changes:

  • Created a new NetlifyBadge component that conditionally renders the badge based on SANDBOX_MODE
  • Removed the badge and ResponsiveContainer wrapper from the root layout
  • Added the badge to the dashboard layout and (blobs) layout
  • Fixed overflow in the (blobs) layout by changing container height from h-[90dvh] to min-h-dvh

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
components/NetlifyBadge.tsx New component that conditionally renders Netlify badge in SANDBOX_MODE
app/layout.tsx Removed Netlify badge and ResponsiveContainer from root layout
app/dashboard/layout.tsx Added NetlifyBadge component to dashboard routes
app/(blobs)/layout.tsx Added NetlifyBadge, fixed container height constraints to prevent overflow, and reordered imports per convention

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@buckhalt buckhalt marked this pull request as ready for review February 19, 2026 16:50
@jthrilly jthrilly merged commit f87d8a6 into main Feb 26, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants