vanilla-framework
vanilla-framework copied to clipboard
Bolded headings width mismatches with side navigation
Describe the bug
- When
p-side-navigation__heading--linkedis hovered over, it doesn't cover the full width
To Reproduce
Steps to reproduce the behavior:
- Go to
https://vanillaframework.io/docs/examples/patterns/side-navigation/accordion - Make sure that the accordion is in full width view (not in toggle side navigation view)
- Hover over
Troubleshoot - Notice the bug
Expected behavior
It should cover the full width of the link, similar to the other links.
Screenshots
Bug:
Expected:
Desktop (please complete the following information):
- OS: macOS Sonoma 14.2
- Browser: Chrome
- Version: 121.0.6167.139
It seems to be caused by max-width on headings.
Likely adding max-width: none; on p-side-navigation__heading--linked would fix the issue.