Skip to content

fix: remove redundant Navbar and fix footer break in QuestionPage (Issue #263)#302

Closed
basantnema31 wants to merge 1 commit into
hereisSwapnil:mainfrom
basantnema31:fix/question-page-double-header
Closed

fix: remove redundant Navbar and fix footer break in QuestionPage (Issue #263)#302
basantnema31 wants to merge 1 commit into
hereisSwapnil:mainfrom
basantnema31:fix/question-page-double-header

Conversation

@basantnema31

Copy link
Copy Markdown

Fixes #263

The Bug:
The "Ask a Question" page (QuestionPage.jsx) was rendering a double header because it explicitly imported and rendered , while simultaneously being rendered inside MasterPage.jsx which already provides the global .
Additionally, the page container used min-h-screen, which caused the flex-grow layout of the parent container to push the footer completely out of bounds (the footer break).

The Fix:

  • Removed the redundant import and component from QuestionPage.jsx.
  • Changed min-h-screen to h-full on the main container so it properly conforms to the parent MasterPage layout without breaking the footer positioning.

@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

@basantnema31 is attempting to deploy a commit to the swapnilsingh99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great job, @basantnema31! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@basantnema31 basantnema31 closed this by deleting the head repository May 27, 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.

BUG: two headers when click on ask a question and footer break also fixed

1 participant