-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
762 [Solutions] Block/UI download component #779
Conversation
…o 762-ui-download-comp
…o 762-ui-download-comp
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
|
blocks/download/download.js
Outdated
row.querySelectorAll('picture').forEach((picItem) => { | ||
picItem?.parentElement?.parentElement?.classList.add(...'w-full card flex flex-col md:flex-row py-4 gap-x-2 gap-y-4 items-start md:items-center'.split(' ')); | ||
picItem?.parentElement?.classList.add(...'card-image flex'.split(' ')); | ||
picItem?.classList.add(...'w-64 h-64 block md:w-56 md:h-40 rounded-md shrink-0 mb-3 md:mb-0 object-cover aspect-video'.split(' ')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Height looks too much compare to original, may can be reduced. Even width also can be slightly reduced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rgravitvl - I've updated the changes. please have a look. Thanks.
…o 762-ui-download-comp
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #762
Test URLs: