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
USWDS - Bug: Buttons in nested button groups have mismatched heights #5825
Comments
Thanks for submitting this issue, @lpsinger. Confirming that the presentation of nested button groups did change with the introduction of 3.8.0. This change occurs in Chrome, Firefox, and Safari. I am marking this as "Needs:discussion" because we need to discuss the use case of nested button groups before we can classify the issue as a bug and move it to scheduling. This screenshot captures a nested button group using the button group code from the component code accordion: <ul class="usa-button-group">
<li class="usa-button-group__item">
<a href="#" class="usa-button usa-button--outline">Back</a>
</li>
<li class="usa-button-group__item">
<ul class="usa-button-group">
<li class="usa-button-group__item">
<a href="#" class="usa-button usa-button--outline">Back</a>
</li>
<li class="usa-button-group__item">
<button type="button" class="usa-button">Continue</button>
</li>
</ul>
</li>
</ul> |
We use nested button groups (generally a non-segmented group containing several segmented groups) in our site (https://gcn.nasa.gov/). |
@lpsinger Forgive me if I missed it on the page you sent, but curious if you can send a link to a page on your site that shows a nested button group. Seeing the pattern in action will help inform our discussion. Thanks! |
|
Describe the bug
Buttons in nested button groups have mismatched heights. We use button groups that contain buttons and segmented button groups in our USWDS site, https://gcn.nasa.gov.
This bug was introduced in USWDS 3.8.0.
Steps to reproduce the bug
Save the HTML in the "Related code" section to a file and open it in your browser.
Expected Behavior
Buttons should have equal heights, as in the USWDS 3.7.1 screen shot below.
Related code
Screenshots
USWDS 3.7.1
USWDS 3.8.0
System setup
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: