Skip to content

Commit

Permalink
Hide illustration on block selection
Browse files Browse the repository at this point in the history
  • Loading branch information
akasunil committed Aug 21, 2024
1 parent 6eff6af commit a462d07
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/block-library/src/audio/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,25 @@
margin-top: -9px;
margin-left: -9px;
}

// Show Placeholder style on-select.
&.is-selected .components-placeholder {
// Block UI appearance.
color: $gray-900;
background-color: $white;
box-shadow: inset 0 0 0 $border-width $gray-900;
border: none;

> svg {
opacity: 0;
}

.components-placeholder__illustration {
display: none;
}

&::before {
opacity: 0;
}
}
}

0 comments on commit a462d07

Please sign in to comment.