Visitar URL original
USWDS - Nav: Set width of primary button to 100% by amyleadem · Pull Request #6097 · uswds/uswds · GitHub
Skip to content

USWDS - Nav: Set width of primary button to 100% - #6097

Merged
thisisdano merged 1 commit into
release-3.9.0from
al-set-nav-button-width
Oct 4, 2024
Merged

thisisdano merged 1 commit into
release-3.9.0from
al-set-nav-button-width

Conversation

@amyleadem

@amyleadem amyleadem commented Oct 4, 2024 •

Copy link
Copy Markdown
Contributor

Summary

Set the width of .usa-nav__primary button to 100%. This overrides the auto width added in #5631.

Breaking change

This is not a breaking change.

Related issue

N/A

Related pull requests

N/A

Preview link

Header component

Problem statement

After merging in #5631, we discovered that it had an unexpected impact on buttons in the mobile navigation menu:
image

Solution

image

Testing and review

@mejiaj mejiaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mobile header issue resolved and no regressions found on Table, accordion, breadcrumb, usa password.

@amyleadem
amyleadem marked this pull request as ready for review October 4, 2024 21:44
@amyleadem
amyleadem requested a review from thisisdano October 4, 2024 21:44
@thisisdano
thisisdano merged commit 3441c5e into release-3.9.0 Oct 4, 2024
@thisisdano
thisisdano deleted the al-set-nav-button-width branch October 4, 2024 21:45
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.

3 participants