Skip to content

Images overflow horizontally and overlap sidebar content on the Performance page #354

Closed

Description

@jdahir0789

Issue Description

On the Performance page of the Hosting Handbook, several images are not responsive. This causes horizontal scrolling and overlapping with the sidebar, breaking the layout on both desktop and smaller viewports.

Steps to Reproduce

  1. Visit https://make.wordpress.org/hosting/handbook/performance/.
  2. Scroll to the Full Page Cache section.
  3. Notice that the image extends beyond the content area.
  4. Scroll to the Object Cache section and observe the large diagram overlapping with the sidebar.

Expected Behavior

  • Images should scale within the content container.
  • No horizontal scrolling.
  • Sidebar remains fully visible without overlap.

Actual Behavior

  • Images overflow horizontally.
  • Horizontal scrollbar appears.
  • Sidebar overlaps with images, breaking the layout.

Screenshots

1. Horizontal overflow
Horizontal overflow

2. Sidebar overlap
Sidebar overlap

Environment

  • Browsers: Chrome 139.0.7258.66 (64-bit), Firefox 143.0.4 (64-bit)
  • Incognito: Reproducible

Activity

  1. Successfulsebunya commented on Oct 15, 2025

    @Successfulsebunya
    Member

    Issue Reproduction

    • 🐞 Bug exists

    ###Environment
    Browser: Brave browser v 1.83.112
    Reproducible in Incognito: Yes
    Both Logged in and not logged users

    ###Screenshots
    Image

    Image
  2. kittenkamala commented on Oct 28, 2025

    @kittenkamala
    Collaborator

    Resolved with #358

  3. kittenkamala commented on Oct 29, 2025

    @kittenkamala
    Collaborator

    Unfortunately the issue persists. We could try adding a max width and height like

    <style="max-width: 700px; height: auto;">

  4. kittenkamala commented on Oct 30, 2025

    @kittenkamala
    Collaborator

    After testing by directly editing html in make /hosting/wp-admin and using preview, I landed on this:

    style="max-width: 100%; max-height: 100%; object-fit: contain;"

    #362

  5. added a commit that references this issue on Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions