We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<Avatar>
size
placeholderInitials
Describe the bug When using the placeholderInitials property, the Avatar component does not respect any specified valid size properties.
This is due to:
w-10 h-10
avatar.root.initials.base
To Reproduce Steps to reproduce the behavior:
<Avatar placeholderInitials="RR" size="xl" />
xl
Expected behaviour Expect that size="xl" (or any other valid specified size) takes effect when used.
size="xl"
Screenshots Before
After
System information: N/A
Project information:
Additional context
Avatar.tsx
AvatarPage.tsx
The text was updated successfully, but these errors were encountered:
fix(/src/components/avatar): enable explicit sizing of placeholder in…
8157b8e
…itials (themesberg#659)
eafeb72
feat(/src/components/avatar): allow custom sizes for `placeholderInit…
525b90d
…ials` (#659) (#660) Co-authored-by: Robert Pocklington <[email protected]>
Successfully merging a pull request may close this issue.
Describe the bug
When using the
placeholderInitials
property, the Avatar component does not respect any specified validsize
properties.This is due to:
w-10 h-10
in theavatar.root.initials.base
theme defaults hereTo Reproduce
Steps to reproduce the behavior:
<Avatar placeholderInitials="RR" size="xl" />
xl
size has not been applied, and sizing is fixed atw-10 h-10
.Expected behaviour
Expect that
size="xl"
(or any other valid specified size) takes effect when used.Screenshots
Before
After
System information:
N/A
Project information:
Additional context
Avatar.tsx
AvatarPage.tsx
to visually see the size differences successfully rendered when usingplaceholderInitials
.The text was updated successfully, but these errors were encountered: