PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/block-library/gallery/editor.css +9 -2 23.7.0 → 24.1.0 View file →
@@ -92,14 +92,21 @@
92 92 /**
93 93 * Creates a checkerboard pattern background to indicate transparency.
94 94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 95 */
96 -:root :where(figure.wp-block-gallery) {
96 +:root :where(figure.wp-block-gallery.is-layout-flex) {
97 97 display: block;
98 98 }
99 -:root :where(figure.wp-block-gallery) > .blocks-gallery-caption {
99 +:root :where(figure.wp-block-gallery.is-layout-flex) > .blocks-gallery-caption {
100 100 flex: 0 0 100%;
101 101 }
102 +
103 +:root :where(.wp-block-gallery.is-layout-grid) > .blocks-gallery-caption,
104 +:root :where(.wp-block-gallery.is-layout-grid) > .components-placeholder,
105 +:root :where(.wp-block-gallery.is-layout-grid) > .block-editor-media-placeholder {
106 + grid-column: 1/-1;
107 +}
108 +
102 109 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label {
103 110 display: none;
104 111 }
105 112 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button {