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

Experimental and deprecated icons overlap when the topic is a sidebar heading #11614

Closed
3 tasks done
mirunacurtean opened this issue Aug 9, 2024 · 0 comments · Fixed by #11786
Closed
3 tasks done
Assignees
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

Comments

@mirunacurtean
Copy link

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

  1. Navigate to an MDN page with experimental and deprecated icons.
  2. Ensure the page's topic matches the sidebar heading.
  3. Observe the overlapping icons in the sidebar

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

image

Anything else?

No response

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Aug 9, 2024
@mirunacurtean mirunacurtean added 🐛 bug Something isn't working, or isn't working as expected frontend general frontend issues sidebar/toc Sidebar and table of contents labels Aug 9, 2024
@github-actions github-actions bot added the idle label Sep 8, 2024
@caugner caugner self-assigned this Sep 10, 2024
@caugner caugner added effort: small This task is a small effort. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 10, 2024
@caugner caugner added has PR Issues that already have a PR and removed idle labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants