Skip to content

Fix import error banner visibility in navbar#5

Open
cto-new[bot] wants to merge 2 commits intomainfrom
cto-task-name-import-docx-pdf-featureoverview-add-an-import-from-feat
Open

Fix import error banner visibility in navbar#5
cto-new[bot] wants to merge 2 commits intomainfrom
cto-task-name-import-docx-pdf-featureoverview-add-an-import-from-feat

Conversation

@cto-new
Copy link
Copy Markdown
Contributor

@cto-new cto-new bot commented Feb 5, 2026

The import error message was being hidden underneath the fixed header because the banner was positioned in the normal document flow without accounting for the fixed header's height.

Changes:

  • Added a spacer div (h-14 flex-shrink-0) to maintain proper document flow below the fixed header
  • Removed pt-14 from the main content area since the spacer now handles the offset
  • The error banner now naturally appears below the spacer, making it visible to users

This ensures the import error message is always visible below the navbar when an import fails.

Powered by CTO.new

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
docx-editor Ready Ready Preview, Comment Feb 5, 2026 0:04am

@cto-new cto-new bot changed the title Add Import DOCX/PDF Feature Fix import error banner visibility in navbar Feb 5, 2026
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.

0 participants