Skip to content

Commit

Permalink
children updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinaykumargujja committed Dec 1, 2023
1 parent 941818a commit fdb4d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/herobanner/herobanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function decorate(block) {
const moduleDiv = document.createElement('div');
moduleDiv.classList.add('module', 'mmg-rich-columns', 'padding-all', 'custom-bg', 'bg', 'wide-section', 'split-bg', 'style-standard');
moduleDiv.style.backgroundImage = `url(${imageContaner.querySelector('img').src})`;
const contentContainer = block.children[1];
const contentContainer = block.children[0].children[1];
const outDiv = document.createElement('div');
outDiv.classList.add('outer');
const contentDiv = document.createElement('div');
Expand Down

0 comments on commit fdb4d26

Please sign in to comment.