From 41b838291b2998a42abe40c978c2a0181151daa7 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Mon, 22 Nov 2021 09:14:02 +0100 Subject: [PATCH] Update featured image placeholder graphic. --- packages/block-library/src/post-featured-image/edit.js | 7 ++----- packages/block-library/src/post-featured-image/editor.scss | 4 ++-- packages/block-library/src/site-logo/editor.scss | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/block-library/src/post-featured-image/edit.js b/packages/block-library/src/post-featured-image/edit.js index 3f66acb7cddf2a..828ff26fb121b5 100644 --- a/packages/block-library/src/post-featured-image/edit.js +++ b/packages/block-library/src/post-featured-image/edit.js @@ -33,12 +33,9 @@ const placeholderIllustration = ( fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" - preserveAspectRatio="xMidYMid slice" // @todo: "slice" matches the "cover" behavior, "meet" could be used for "container" and "fill" values. + preserveAspectRatio="none" > - + ); diff --git a/packages/block-library/src/post-featured-image/editor.scss b/packages/block-library/src/post-featured-image/editor.scss index 9b9038ba9845e2..4f4126a6ecad9c 100644 --- a/packages/block-library/src/post-featured-image/editor.scss +++ b/packages/block-library/src/post-featured-image/editor.scss @@ -48,7 +48,7 @@ bottom: 0; left: 0; border: $border-width dashed currentColor; - opacity: 0.3; + opacity: 0.4; pointer-events: none; // Inherit border radius from style variations. @@ -93,7 +93,7 @@ height: 100%; stroke: currentColor; stroke-dasharray: 3; - opacity: 0.3; + opacity: 0.4; } // Show default placeholder height when not resized. diff --git a/packages/block-library/src/site-logo/editor.scss b/packages/block-library/src/site-logo/editor.scss index 0d0599998dbc78..af1a9fe59f2bd2 100644 --- a/packages/block-library/src/site-logo/editor.scss +++ b/packages/block-library/src/site-logo/editor.scss @@ -110,7 +110,7 @@ bottom: 0; left: 0; border: $border-width dashed currentColor; - opacity: 0.3; + opacity: 0.4; pointer-events: none; // Inherit border radius from style variations. @@ -155,7 +155,7 @@ height: 100%; stroke: currentColor; stroke-dasharray: 3; - opacity: 0.3; + opacity: 0.4; } }