Skip to content

Commit edad85a

Browse files
author
julioest
committed
fix: Avatar variant context leak #2204
Add 'only' to user_profile include to prevent parent variant="list" leaking into the avatar template, which rendered avatar--list (no bg) instead of avatar--yellow.
1 parent d4ea60c commit edad85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/v3/includes/_library_item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</div>
3737

3838
<div class="library-item__contributor">
39-
{% include "v3/includes/_user_profile.html" with author=author %}
39+
{% include "v3/includes/_user_profile.html" with author=author only %}
4040
</div>
4141

4242
<div class="library-item__actions">

0 commit comments

Comments
 (0)