Skip to content

Commit

Permalink
Couple lines of CSS to make preview image look nice
Browse files Browse the repository at this point in the history
  • Loading branch information
n2erjo00 committed Jan 13, 2024
1 parent 74423c9 commit 45c3a37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ $preview-image-height: 140px;
}
}

.block-editor-link-control__search-item-img {
aspect-ratio: 1/1;
margin-right: 8px;
}

&.is-error .block-editor-link-control__search-item-icon {
top: 0;
width: 32px;
Expand Down

0 comments on commit 45c3a37

Please sign in to comment.