nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

Avatar styling differs from server

Open skjnldsv opened this issue 7 months ago • 3 comments

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 avatar Apr 30 '25 16:04 skjnldsv

Isn't it a server issue?

ShGKme avatar May 01 '25 20:05 ShGKme

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.

skjnldsv avatar May 02 '25 09:05 skjnldsv

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.

susnux avatar May 12 '25 12:05 susnux