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

fix(ui5-avatar): fix default size appearance and font-family #8415

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Mar 8, 2024

  • Fix missing font-family. Avatar used to not set font-family and relies on inheriting it which is not always the case. (In storybook this is not visible as the font is set on the body and the Avatar is inheriting it).
Screenshot 2024-03-08 at 23 02 58

now good

Screenshot 2024-03-08 at 23 03 20
  • Fix default size appearance. When the "size" attribute is not present, the initials font was wrong as styles for the default "S" are applied only when the "size" attribute is present, which by default is missing:

Previously the font was a bit different - one larger than the other
Screenshot 2024-03-08 at 22 59 39

Now fine
Screenshot 2024-03-08 at 23 00 58

  • Improve Table and List growing samples. Breadcrumbs "CurrentPage" sample + design property description.

@ilhan007 ilhan007 merged commit 22826f0 into main Mar 11, 2024
9 checks passed
@ilhan007 ilhan007 deleted the fix-avatar-and-more branch March 11, 2024 09:21
nnaydenow pushed a commit that referenced this pull request Mar 20, 2024
- Fix missing font-family. Avatar used to not set font-family and relies on inheriting it which is not always the case. (In storybook this is not visible as the font is set on the body and the Avatar is inheriting it).
- Fix default size appearance. When the "size" attribute is not present, the initials font was wrong as styles for the default "S" are applied only when the "size" attribute is present, which by default is missing:
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.

None yet

2 participants