Skip to content

Commit

Permalink
fix: restored full-width class to listing block (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored Aug 10, 2023
1 parent d924ef1 commit d19c08a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const ListingBody = React.memo(
const isSearchBlockResults = variation?.['@type'] === 'search';
const block = isSearchBlockResults ? variation : data;

if (!block?.show_block_bg) return '';
if (!block?.show_block_bg) return 'full-width';

let bg_color = data.bg_color ? `bg-${data.bg_color}` : '';

Expand Down

0 comments on commit d19c08a

Please sign in to comment.