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(lccf): cms menu .nav-link alignment #409

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Jan 15, 2025

Overview

For LCCF, fix vertical alignment of .nav-links in CMS menu.

This is a problem on all sites using TACC_CORE_STYLES_VERSION = 2 but is most-noticeable on LCCF, because LCCF sets .s-header.navbar { --nav-padding-vert: 10px; } (and .s-header .nav-link { top: unset; } to partially resolve alignment.)

Warning

Introduces nav link height bug on "mobile" navbar, but will be fixed by TACC/Core-Styles#427.

Related

Changes

  • fixes .s-header .nav-link styles
    (in a way that should be applied to Core-Styles instead)

Testing & UI

LCCF Custom Styles

  1. Replace the content of LCCF's header.css with the new content.
  2. Verify .nav-link underline is at bottom of header.
  3. Verify .nav-link text is vertically aligned center with search bar.
apply.updated.header.css.to.lccf.mov

Default CMS & Styles

  1. Add styles /* To fix nav link alignment regardless the nav padding */
  2. Verify .nav-link underline is at bottom of header.
  3. Verify .nav-link text is vertically aligned center with search bar. larger */`.
apply.core-styles.fix.to.cep.mov

@wesleyboar wesleyboar merged commit abb68a0 into main Jan 15, 2025
@wesleyboar wesleyboar deleted the fix/cms-menu-nav-link-alignment-for-lccf branch January 15, 2025 22:02
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