Experimental and deprecated icons overlap when the topic is a sidebar heading #11614
Closed
3 tasks done
Labels
🐛 bug
Something isn't working, or isn't working as expected
effort: small
This task is a small effort.
frontend
general frontend issues
has PR
Issues that already have a PR
sidebar/toc
Sidebar and table of contents
Summary
In MDN sidebars, pages that feature experimental and deprecated icons experience an overlap issue when the page's topic is also the sidebar heading. For example, on the PaymentAddress API page, the icons overlap with the sidebar heading.
URL
https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress
Reproduction steps
Expected behavior
Icons should be displayed without overlapping, maintaining clear visibility and readability.
Adjust the CSS styling for sidebar elements to ensure sufficient spacing between icons and headings.
Implement a conditional check to reposition icons when they coincide with the sidebar heading.
Actual behavior
Icons overlap with the sidebar heading, causing visual clutter and potential confusion.
Device
Desktop
Browser
Firefox
Browser version
Stable
Operating system
Windows
Screenshot
Anything else?
No response
Validations
The text was updated successfully, but these errors were encountered: