nextcloud-vue
nextcloud-vue copied to clipboard
Avatar styling differs from server
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
Isn't it a server issue?
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.
both we fixed this one to work with other languages but its not fixed on server, but the font size and background color is a problem of this library.