Skip to content

Commit

Permalink
Global styles: tweak block background position preview height (#63225)
Browse files Browse the repository at this point in the history
* 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 committed Jul 9, 2024
1 parent 8b470e0 commit 7c85de1
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 7c85de1

Please sign in to comment.