Skip to content

Conversation

@alarcritty
Copy link
Contributor

Problem

The footer floats in the middle of the page on pages with minimal content (e.g., 404 page), leaving empty space below it.

Before

Screenshot 2025-11-29 at 11 12 12 PM

After

Screenshot 2025-11-29 at 10 46 11 AM

Solution

Added flexbox layout to static/css/main.css to keep the footer at the bottom of the viewport regardless of content height.

Changes

  • Set body to use flexbox with min-height: 100vh
  • Made main content area flexible to fill available space
  • Ensures proper layout across all screen sizes

Testing

✅ Pages with minimal content (404)
✅ Pages with long content (documentation)
✅ Responsive across mobile/tablet/desktop

No HTML changes required. The fix is self-contained in CSS.

Adds flexbox layout to ensure footer stays at bottom of viewport
regardless of content height. Fixes footer floating mid-page on
pages like 404.
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
@justinmk justinmk merged commit 25bada7 into neovim:master Nov 29, 2025
1 check passed
@alarcritty
Copy link
Contributor Author

Hey @justinmk , I’m noticing an issue ,the changes work correctly in my local setup, but the deployed build isn’t reflecting the updated behavior.

@justinmk
Copy link
Member

cache

@alarcritty
Copy link
Contributor Author

cache

oh okay .

@alarcritty
Copy link
Contributor Author

thanks , it's working now.

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.

2 participants