Skip to content

fix: nav alignment fix too complex (simplify PR #427)#434

Merged
wesleyboar merged 2 commits intomainfrom
fix/core-styles-pr-427-too-complex
Jan 30, 2025
Merged

fix: nav alignment fix too complex (simplify PR #427)#434
wesleyboar merged 2 commits intomainfrom
fix/core-styles-pr-427-too-complex

Conversation

@wesleyboar
Copy link
Copy Markdown
Member

@wesleyboar wesleyboar commented Jan 29, 2025

Overview

Simplify nav alignment fix from #427.

Improvements come from lessons learned during TACC/Core-CMS#909.

Related

Changes

  • added variable for .nav-link border width
    Useful for testing it in calculations, but ultimately not used.
  • removed positioning of .nav-link
  • changed height calculation of .nav-link

Testing

  1. Open Core-Styles v2 CMS website e.g. https://cep.tacc.utexas.edu/.
  2. Live edit the styles.
  3. Verify nav links are still horizontally-aligned center in nav.
  4. Verify active/hover nav links border is exactly at bottom of header.

UI

before after
before after

@wesleyboar wesleyboar marked this pull request as ready for review January 30, 2025 17:21
@wesleyboar wesleyboar merged commit 3df73d9 into main Jan 30, 2025
@wesleyboar wesleyboar deleted the fix/core-styles-pr-427-too-complex branch January 30, 2025 17:25
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