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 +35 -15 23.2.2 → 24.1.0 View file →
@@ -67,8 +67,14 @@
67 67 /**
68 68 * Focus styles.
69 69 */
70 70 /**
71 + * Standard focus rings for the WordPress Design System.
72 + *
73 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 + * e.g. `&:focus { @include outset-ring__focus(); }`.
75 + */
76 +/**
71 77 * Applies editor left position to the selector passed as argument
72 78 */
73 79 /**
74 80 * Styles that are reused verbatim in a few places
@@ -86,28 +92,21 @@
86 92 /**
87 93 * Creates a checkerboard pattern background to indicate transparency.
88 94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89 95 */
90 -:root :where(figure.wp-block-gallery) {
96 +:root :where(figure.wp-block-gallery.is-layout-flex) {
91 97 display: block;
92 98 }
93 -:root :where(figure.wp-block-gallery) > .blocks-gallery-caption {
99 +:root :where(figure.wp-block-gallery.is-layout-flex) > .blocks-gallery-caption {
94 100 flex: 0 0 100%;
95 101 }
96 -:root :where(figure.wp-block-gallery) > .blocks-gallery-media-placeholder-wrapper {
97 - flex-basis: 100%;
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;
98 107 }
99 -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error {
100 - display: block;
101 -}
102 -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content {
103 - margin: 4px 0;
104 -}
105 -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss {
106 - position: absolute;
107 - top: 0;
108 - right: 5px;
109 -}
108 +
110 109 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label {
111 110 display: none;
112 111 }
113 112 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button {
@@ -182,5 +181,26 @@
182 181 .wp-block-update-gallery-modal-buttons {
183 182 display: flex;
184 183 justify-content: flex-end;
185 184 gap: 12px;
185 +}
186 +
187 +.wp-block-gallery__source-settings {
188 + grid-column: 1/-1;
189 + display: flex;
190 + flex-direction: column;
191 + gap: 8px;
192 +}
193 +.wp-block-gallery__source-settings .wp-block-gallery__source-description {
194 + margin: 0;
195 + color: #757575;
196 + font-size: 12px;
197 +}
198 +.wp-block-gallery__source-settings .components-button {
199 + justify-content: center;
200 + width: 100%;
201 +}
202 +
203 +.wp-block-gallery__source-notice {
204 + grid-column: 1/-1;
205 + margin: 0;
186 206 }