Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Conversation

@agliga
Copy link
Contributor

@agliga agliga commented Feb 10, 2025

Fixes #2539

  • This PR contains CSS changes
  • This PR does not contain CSS changes

Description

  • Added a default image-treatment to avatar (this changes the default color, but is still usable)
  • Added a avatar--fit modifier to allow the image to fit the contents. For making the behavior happen automatically, we can look into adding this into coreui to detect the image aspect ratio
  • Added a note about using the image with colors so that the aspect ratio wont be applied.

Screenshots

Screenshot 2025-02-10 at 8 43 45 AM Screenshot 2025-02-10 at 8 44 02 AM

Checklist

  • I verify the build is in a non-broken state

  • I verify all changes are within scope of the linked issue

  • I regenerated all CSS files under dist folder

  • I tested the UI in all supported browsers

  • I did a visual regression check of the components impacted by doing a Percy build and approved the build

  • I tested the UI in dark mode and RTL mode

  • I added/updated/removed Storybook coverage as appropriate

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2025

🦋 Changeset detected

Latest commit: dc9efe8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@ebay/skin Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@ArtBlue ArtBlue left a comment

Choose a reason for hiding this comment

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

Looks good.

@agliga agliga merged commit abcb849 into 19.1.0 Feb 11, 2025
@agliga agliga deleted the avatar branch February 11, 2025 19:30
@github-actions github-actions bot mentioned this pull request Feb 10, 2025
@github-actions github-actions bot mentioned this pull request Feb 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants