Skip to content

Commit

Permalink
chore: Update branch with latest landmark-example changes and submo…
Browse files Browse the repository at this point in the history
…dule updates
  • Loading branch information
w3cgruntbot committed Jan 29, 2025
1 parent 82dfc2f commit ab4b479
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -65,4 +65,3 @@ input[type="submit"] {
border: none;
width: auto;
}

Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@

function resizeImagesInFigures() {
const figures = document.querySelectorAll('#at figure');
for(let i = 0; i < figures.length; i++) {
for (let i = 0; i < figures.length; i++) {
const image = figures[i].querySelector('img');
if (image) {
const rect = figures[i].getBoundingClientRect();
image.style.width = (rect.width - 16) + 'px';
image.style.width = rect.width - 16 + 'px';
}
}
}

0 comments on commit ab4b479

Please sign in to comment.