-
Notifications
You must be signed in to change notification settings - Fork 0
main/production #20
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
main/production #20
Conversation
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.
Pull Request Overview
This PR updates the class attributes for image containers on list image cards, affecting both the component definition and its usage in the About Us view.
- Fixed CSS class attributes in the list-image-card component.
- Adjusted image container classes in the About Us view for consistent styling.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| resources/views/components/list-image-card.blade.php | Updated image container class attributes with a potential duplicate "h-30" entry. |
| resources/views/app/about-us/index.blade.php | Changed the image container width from "w-auto" to "w-20". |
| @props([ | ||
| 'image', | ||
| 'imageContainerClassAttributes' => 'h-30 w-auto flex-shrink-0 overflow-hidden', | ||
| 'imageContainerClassAttributes' => 'h-30 h-30 flex-shrink-0 overflow-hidden', |
Copilot
AI
Jun 23, 2025
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.
The class attribute contains a duplicate 'h-30'. If this is unintentional, consider replacing the duplicate with the intended width class (e.g., 'w-auto').
| 'imageContainerClassAttributes' => 'h-30 h-30 flex-shrink-0 overflow-hidden', | |
| 'imageContainerClassAttributes' => 'h-30 flex-shrink-0 overflow-hidden', |
| :name="$contact->name" | ||
| :image="$contact->image" | ||
| image-container-class-attributes="h-20 w-auto flex-shrink-0 overflow-hidden"/> | ||
| image-container-class-attributes="h-20 w-20 flex-shrink-0 overflow-hidden"/> |
Copilot
AI
Jun 23, 2025
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.
The update changes the width from 'w-auto' to 'w-20', which may introduce inconsistency with other parts of the application if not intended; please verify if a fixed width is the desired behavior.
| image-container-class-attributes="h-20 w-20 flex-shrink-0 overflow-hidden"/> | |
| image-container-class-attributes="h-20 w-auto flex-shrink-0 overflow-hidden"/> |
No description provided.