Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions packages/block-library/src/post-featured-image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<Path
vectorEffect="non-scaling-stroke"
d="m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"
/>
<Path vectorEffect="non-scaling-stroke" d="M60 60 0 0" />
</SVG>
);

Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/post-featured-image/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -93,7 +93,7 @@
height: 100%;
stroke: currentColor;
stroke-dasharray: 3;
opacity: 0.3;
opacity: 0.4;
}

// Show default placeholder height when not resized.
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/site-logo/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -155,7 +155,7 @@
height: 100%;
stroke: currentColor;
stroke-dasharray: 3;
opacity: 0.3;
opacity: 0.4;
}
}

Expand Down