- Joined
- Jan 21, 2022
- Messages
- 655
- Points
- 103
Reputation:
Hello,
I have been struggling with modifying my avatar sizes since literally 2 days now and I can't seem to find a way to fix this.
setup.less
Message_macros
This looks fine so far, while on other pages for example reports or resource reviews, they are way too big.
I checked both of them templates, and it seems they fetch the avatar from message_macros, this is weird.
Anyone here know what this causes?
I have been struggling with modifying my avatar sizes since literally 2 days now and I can't seem to find a way to fix this.
setup.less
HTML:
// AVATARS
@_avatarBaseSize: 96px;
@avatar-xxs: (@_avatarBaseSize) / 4;
@avatar-xs: (@_avatarBaseSize) / 3;
@avatar-s: (@_avatarBaseSize) / 2;
@avatar-m: (@_avatarBaseSize);
@avatar-l: (@_avatarBaseSize) * 2;
@avatar-o: (@_avatarBaseSize) * 4;
Message_macros
HTML:
<xf:avatar user="$user" size="l" defaultname="{$fallbackName}" itemprop="image" />
This looks fine so far, while on other pages for example reports or resource reviews, they are way too big.
I checked both of them templates, and it seems they fetch the avatar from message_macros, this is weird.
Anyone here know what this causes?