You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gallery Block Spacing does not change on mobile Device Preview in Responsive editing mode #79968
In testing the Responsive Styling for #75121 I noticed that when Styling the Gallery block, I have the option to change the block spacing on the Mobile device viewport while in Responsive editing mode, however the block spacing changes are not applied to either the editor or published front end page.
Hmm yeah the custom implementation is behind this for sure; that's probably a consequence of the legacy flex layout Gallery uses. Let me see how it might be fixed!
Activity
andreawetzel commentedon Jul 7, 2026
This is part of this 7.1 tracking issue #77817
t-hamano commentedon Jul 8, 2026
Related to https://github.com/WordPress/gutenberg/pull/78543/changes
@tellthemachines @talldan, I believe there are two factors involved in the problem reported here. What are your thoughts?
gutenberg/packages/block-library/src/gallery/block.json
Line 146 in 15ba6e2
--wp--style--unstable-gallery-gapis used.tellthemachines commentedon Jul 8, 2026
Hmm yeah the custom implementation is behind this for sure; that's probably a consequence of the legacy flex layout Gallery uses. Let me see how it might be fixed!