diff options
Diffstat (limited to 'wp-includes/blocks/gallery/editor.css')
-rw-r--r-- | wp-includes/blocks/gallery/editor.css | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/wp-includes/blocks/gallery/editor.css b/wp-includes/blocks/gallery/editor.css index 9d78df9..cd85074 100644 --- a/wp-includes/blocks/gallery/editor.css +++ b/wp-includes/blocks/gallery/editor.css @@ -1,39 +1,39 @@ -figure.wp-block-gallery{ +:root :where(figure.wp-block-gallery){ display:block; } -figure.wp-block-gallery>.blocks-gallery-caption{ +:root :where(figure.wp-block-gallery)>.blocks-gallery-caption{ flex:0 0 100%; } -figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{ +:root :where(figure.wp-block-gallery)>.blocks-gallery-media-placeholder-wrapper{ flex-basis:100%; } -figure.wp-block-gallery .wp-block-image .components-notice.is-error{ +:root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error{ display:block; } -figure.wp-block-gallery .wp-block-image .components-notice__content{ +:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content{ margin:4px 0; } -figure.wp-block-gallery .wp-block-image .components-notice__dismiss{ +:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss{ position:absolute; right:5px; top:0; } -figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{ +:root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label{ display:none; } -figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{ +:root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{ margin-bottom:0; } -figure.wp-block-gallery .block-editor-media-placeholder{ +:root :where(figure.wp-block-gallery) .block-editor-media-placeholder{ margin:0; } -figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{ +:root :where(figure.wp-block-gallery) .block-editor-media-placeholder .components-placeholder__label{ display:flex; } -figure.wp-block-gallery .block-editor-media-placeholder figcaption{ +:root :where(figure.wp-block-gallery) .block-editor-media-placeholder figcaption{ z-index:2; } -figure.wp-block-gallery .components-spinner{ +:root :where(figure.wp-block-gallery) .components-spinner{ left:50%; margin-left:-9px; margin-top:-9px; |