Skip to content
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

Add w-full to Image if aspect-ratio is set to apply the effect #58

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

piqusy
Copy link
Contributor

@piqusy piqusy commented Oct 15, 2024

Description

Add w-full to Image if aspect-ratio is set to apply the effect

Screenshots / Videos

Here is an example for "square" aspect-ratio but this applies to all variants:

Screen.Recording.2024-10-15.at.15.50.06.mov

@piqusy piqusy added the bug Something isn't working label Oct 15, 2024
@piqusy piqusy requested a review from a team October 15, 2024 13:53
@piqusy piqusy self-assigned this Oct 15, 2024
"five-four": "aspect-5/4",
"sixteen-nine": "aspect-video",
"twentyone-nine": "aspect-21/9"
"square": "aspect-square w-full",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be set in the block, not the component

Components should be neutral sizing-wise, if possible

@piqusy piqusy added this to the 1.4.3 milestone Oct 17, 2024
@piqusy piqusy requested review from goranalkovic-infinum and removed request for goranalkovic-infinum October 17, 2024 11:05
@piqusy piqusy merged commit ba32686 into relase/1.4.3 Oct 17, 2024
1 check failed
@piqusy piqusy deleted the fix/image-aspect-ratio branch October 17, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants