Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp committed Dec 4, 2023
1 parent cd773a0 commit 5a36cea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cigaradvisor/blocks/imagecta/imagecta.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ export default async function decorate(block) {
const ratio = (parseInt(img.height, 10) / parseInt(img.width, 10)) * 100;
picture.style.paddingBottom = `${ratio}%`;
anchor.style.maxWidth = `${img.width}px`;



anchor.append(picture);
anchor.setAttribute('href', block.querySelector('a').getAttribute('href'));
children.push(anchor);
Expand Down

0 comments on commit 5a36cea

Please sign in to comment.