diff options
Diffstat (limited to 'wp-includes/blocks/site-logo/editor.css')
-rw-r--r-- | wp-includes/blocks/site-logo/editor.css | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/wp-includes/blocks/site-logo/editor.css b/wp-includes/blocks/site-logo/editor.css index 08710ac..1aacff8 100644 --- a/wp-includes/blocks/site-logo/editor.css +++ b/wp-includes/blocks/site-logo/editor.css @@ -13,14 +13,24 @@ .wp-block-site-logo .custom-logo-link:focus{ box-shadow:none; } -.wp-block-site-logo .custom-logo-link.is-transient img{ - opacity:.3; -} .wp-block-site-logo img{ display:block; height:auto; max-width:100%; } +.wp-block-site-logo.is-transient{ + position:relative; +} +.wp-block-site-logo.is-transient img{ + opacity:.3; +} +.wp-block-site-logo.is-transient .components-spinner{ + left:50%; + margin:0; + position:absolute; + top:50%; + transform:translate(-50%, -50%); +} .wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{ height:60px; @@ -53,6 +63,7 @@ display:flex; height:48px; justify-content:center; + margin:auto; padding:0; position:relative; width:48px; |