Skip to content

Conversation

@josh-wong
Copy link
Member

Description

This PR fixes an issue where the sidebar that contains the support button and table of contents (ToC) was appearing on top of zoomed-in images. When clicking on an image, the sidebar that contains the support menu and ToC would appear on top of the zoomed-in image. The addition of the image styles in this PR ensures that the image overlays that sidebar.

Related issues and/or PRs

Changes made

  • Added styles for .medium-zoom-overlay and .medium-zoom-image to make zoomed-in images appear on top of the sidebar that contains the support button and ToC.
  • Adjusted the style for the announcement bar to ensure that it stays visible when an image is zoomed in on.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have updated the side navigation as necessary. N/A
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes. N/A
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.). N/A
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published. N/A

Additional notes (optional)

N/A

@josh-wong josh-wong added the bugfix Fix that resolves bugs label Apr 24, 2025
@josh-wong josh-wong self-assigned this Apr 24, 2025
@josh-wong josh-wong merged this pull request into main Apr 24, 2025
1 check passed
@josh-wong josh-wong deleted the fix-support-overlay-on-zoomed-images branch April 24, 2025 08:37
josh-wong added a commit that referenced this pull request May 14, 2025
… images (#1137)

* Make zoomed-in images overlay support button and ToC

* Make announcement bar overlay zoomed-in images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix that resolves bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant