Skip to content

Commit

Permalink
Site screenshot: Fix bad conditional
Browse files Browse the repository at this point in the history
Follow up to 0fdc2ad
  • Loading branch information
ryelle committed Oct 4, 2023
1 parent 0fdc2ad commit b11aa4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// One column—this one's actually accurate! At one column, we only need to
// account for site padding & border width.
$sizes .= 'calc(100vw - 60px)';
} else if ( 'grid' === $attributes['location'] ) {
} else if ( 'row' === $attributes['location'] ) {
// In "row", this stays 3-column until flipping to one-column.
$sizes = '(min-width: 1920px) 533px,';
$sizes .= '(min-width: 801px) calc(25vw + 30px),';
Expand Down

0 comments on commit b11aa4d

Please sign in to comment.