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

IT-6250 | Add flex-shrink to main avatar element #479

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

t-tomalak
Copy link
Contributor

@t-tomalak t-tomalak commented Apr 1, 2025

We don't want this element to shrink, therefore, let's explicitly set the flex-shrink to 0 so the element is not affected by other around it.

@t-tomalak
Copy link
Contributor Author

/build

@t-tomalak t-tomalak force-pushed the IT-6250-move-width-height-in-avatar branch from a174732 to 80d7921 Compare April 2, 2025 06:09
@t-tomalak t-tomalak changed the title IT-6250 | Move width and height properties to child element in Avatar component IT-6250 | Add flex-shrink to main avatar element Apr 2, 2025
@t-tomalak t-tomalak force-pushed the IT-6250-move-width-height-in-avatar branch from 80d7921 to ac1ec0b Compare April 2, 2025 06:14
@t-tomalak
Copy link
Contributor Author

/build

@@ -47,6 +47,7 @@
$root: &;

display: flex;
flex-shrink: 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

please leave comment in the code 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

We don't want this element to shrink, therefore, let's explicitly set the flex-shrink to 0 so the element is not affected by other around it.
@t-tomalak t-tomalak force-pushed the IT-6250-move-width-height-in-avatar branch from ac1ec0b to cacb313 Compare April 2, 2025 09:33
@t-tomalak t-tomalak merged commit 55227a1 into master Apr 8, 2025
1 check passed
@t-tomalak t-tomalak deleted the IT-6250-move-width-height-in-avatar branch April 8, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants