Skip to content

Avatar styling differs from server #6865

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

Open
skjnldsv opened this issue Apr 30, 2025 · 2 comments
Open

Avatar styling differs from server #6865

skjnldsv opened this issue Apr 30, 2025 · 2 comments
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working feature: avatar Related to the avatar component

Comments

@skjnldsv
Copy link
Contributor

Here is some screenshots of this code:

<NcAvatar class="public-page-user-menu__avatar"
			disable-menu
			disable-tooltip
			is-no-user
			:user="currentUser || '?'" />
<NcAvatar class="public-page-user-menu__avatar"
			disable-menu
			disable-tooltip
			is-guest
			:user="currentUser || '?'" />

Schreenshots

Left is the component internal generator: is-no-user
Right is the server guest avatar endpoint

Image
Image

@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of bug Something isn't working feature: avatar Related to the avatar component labels Apr 30, 2025
@ShGKme
Copy link
Contributor

ShGKme commented May 1, 2025

Isn't it a server issue?

@skjnldsv
Copy link
Contributor Author

skjnldsv commented May 2, 2025

No, the server one is correct.
We generate it the same way we generate user avatars.

But we have a no-server fallback here on this component, and the colours differs as well as the font size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working feature: avatar Related to the avatar component
Projects
None yet
Development

No branches or pull requests

2 participants