Skip to content

Commit

Permalink
Provide baseline border styles for improved visual feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 9, 2021
1 parent 86a60a7 commit 8ed1174
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-library/src/image/style.scss
Expand Up @@ -93,3 +93,13 @@
.wp-block-image figure {
margin: 0;
}

// Set baseline border styles with zero specificity to improve visual feedback
// when user alters individual border properties via block support UI.
html :where(.wp-block-image img) {
border: 0 solid currentColor;
}

html :where(.wp-block-image__crop-area) {
border: 0 solid currentColor;
}

0 comments on commit 8ed1174

Please sign in to comment.