Skip to content

Conversation

Traven-B
Copy link

@Traven-B Traven-B commented Sep 6, 2025

Pull Request Description

Align header/nav text & fix table borders

  • Aligns the baselines of the site title and navigation text at the top of each page.
  • Fixes doubled and broken horizontal lines in tables.

This pull request supersedes #449 with different commit text and updated options and explanations in comments.

Changes made:

  • Fixed misalignment of site title and navigation links by updating .site-nav rule in _header.scss.
  • Removed unused $padding-top variable that becomes obsolete if suggested title/nav CSS fix is chosen.
  • Placed detailed comments in _header.scss CSS for alternative fixes and an additional tweak.
  • Fixed double and broken horizontal lines in tables by setting border-collapse: collapse on the main table ruleset.

Visual Comparison

On the "Pixyll in Action" page, the navigation/header fix now aligns with the README layout. The example tables further down demonstrate the doubled lines and gap fixes.

Notes:

See the comment in _header.scss for an additional tweak option to pull up the navigation text on the right side by the tiniest amount, if it seems necessary.

The table fix is an obvious, no-mystery one-line addition to _tables.scss.

The header alignment fix is my best guess. January 2019 pixyll.com at archive.org shows a good version, February does not.

Added the CSS border-collapse property with value collapse to the main
table ruleset. This property merges adjacent table cell borders into a
single border, eliminating doubled lines and gaps.
- Changed the .site-nav rule in the _header.scss partial to correct
  vertical alignment.

- Added detailed comments explaining alternative fixes and future
  tweaks.

- Left the suggested removal of the $nav-padding variable in
  _variables.scss for a follow-up commit to allow review and choice.
The variable was made obsolete by a recent CSS change.
It was left untouched in previous commits to allow review and choice.
Copy link

vercel bot commented Sep 6, 2025

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

Project Deployment Preview Comments Updated (UTC)
pixyll Error Error Sep 6, 2025 8:32am

@Traven-B Traven-B marked this pull request as ready for review September 6, 2025 22:46
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.

1 participant