We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e365fd + 84d2f3f commit 58db42fCopy full SHA for 58db42f
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