Skip to content

Commit

Permalink
Adjusting based on the last img attribute structure change
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuyukkalender committed Jan 23, 2025
1 parent dcb5949 commit 3efd6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/instant-search/instant-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default function decorate(block) {
<div style="position: relative; display: flex; flex-shrink: 0; flex-grow: 1; flex-direction: column; padding: 1rem; padding-bottom:0; ">
<div style="position: relative;">
<div style="margin-left: auto; margin-right: auto; aspect-ratio: 1 / 1; width: 80% padding: 1rem;">
<img style="max-width: 100%; height: auto; aspect-ratio: 1 / 1; width: 100%; object-fit: contain;" src="https://publish-p28413-e1511338.adobeaemcloud.com${item.image[0]}" />
<img style="max-width: 100%; height: auto; aspect-ratio: 1 / 1; width: 100%; object-fit: contain;" src="https://publish-p28413-e1511338.adobeaemcloud.com${item.image}" />
</div>
</div>
<div style="position: relative; display: flex; flex-grow: 1; flex-direction: column; margin-bottom: 1rem;">
Expand Down

0 comments on commit 3efd6ff

Please sign in to comment.