fix: circle stack users ui

This commit is contained in:
trisua 2025-06-15 19:04:56 -04:00
parent 9443bfb58d
commit 8c5d8bf0ba
2 changed files with 8 additions and 5 deletions

View file

@ -65,9 +65,11 @@
(text "{% for user in list %} {{ components::user_plate(user=user, secondary=true) }} {% endfor %}"))
(text "{% else %}")
; user icons for circle stack
(text "{% if stack.mode == 'Circle' -%} {% for user in stack.users %}")
(text "{{ components::avatar(username=user, selector_type=\"id\", size=\"24px\") }}")
(text "{% endfor %} {%- endif %}")
(text "{% if stack.mode == 'Circle' -%}")
(div
("class" "flex w-full gap-2 flex-wrap")
(text "{% for user in stack.users %} {{ components::avatar(username=user, selector_type=\"id\", size=\"24px\") }} {% endfor %}"))
(text "{%- endif %}")
; posts for all stacks except blocklist
(text "{% for post in list %}