Skip to content

Commit

Permalink
Global styles: tweak block background position preview height (WordPr…
Browse files Browse the repository at this point in the history
…ess#63225)

* Add a gray background for the focal picker image preview, with a max-height of 180px

* Add border and border radius to focal point picker image container

Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
3 people authored and carstingaxion committed Jul 18, 2024
1 parent bd1580b commit 70b21fa
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,14 @@
.components-toggle-control {
margin-bottom: 0;
}
.components-focal-point-picker-wrapper {
background-color: $gray-100;
width: 100%;
border-radius: $radius-block-ui;
border: $border-width solid $gray-300;
}
.components-focal-point-picker__media--image {
max-height: clamp(120px, 9vh, 280px);
max-height: 180px;
}
}

Expand Down

0 comments on commit 70b21fa

Please sign in to comment.