We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10cdd89 commit 7a10855Copy full SHA for 7a10855
1 file changed
php/delivery/class-responsive-breakpoints.php
@@ -140,7 +140,7 @@ protected function apply_breakpoints( $tag_element ) {
140
$size_transformation = $this->media->get_crop_from_transformation( $this->media->get_transformations_from_string( $src ) );
141
$size_string = Api::generate_transformation_string( array( $size_transformation ) );
142
$breakpoints = array();
143
- while ( $max > $min ) {
+ while ( $max >= $min ) {
144
if ( $width >= $max ) {
145
$size_transformation['width'] = $max;
146
$size_transformation['height'] = floor( $max / $ratio );
0 commit comments