Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

wesleyboar
Copy link
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