Skip to content

Plugin Directory: Fix screenshot thumbnails stacking in Chrome 146#560

Closed
dan-zakirov wants to merge 1 commit intoWordPress:trunkfrom
dan-zakirov:fix/chrome-146-table-cell
Closed

Plugin Directory: Fix screenshot thumbnails stacking in Chrome 146#560
dan-zakirov wants to merge 1 commit intoWordPress:trunkfrom
dan-zakirov:fix/chrome-146-table-cell

Conversation

@dan-zakirov
Copy link
Copy Markdown

@dan-zakirov dan-zakirov commented Mar 14, 2026

Chrome 146 changed how LayoutNG handles anonymous table boxes for <button> elements, so .image-gallery-thumbnail buttons that use display: table-cell no longer share a row - they each get their own anonymous table and stack vertically.

Swapping table-cell for inline-block fixes it. The container already has white-space: nowrap so nothing else breaks.

This is a quick temporary fix for the Chrome regression - a more modern gallery replacement is being discussed in #8083.

Fixes https://meta.trac.wordpress.org/ticket/8204

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props alexodiy.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@bazza bazza closed this in e6574de Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant