More design tweaks

main
Thomas Sileo 2022-07-09 08:32:17 +02:00
parent beca3db5d1
commit fb884de797
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
{% macro display_replies_tree(replies_tree_node) %}
{% if replies_tree_node.is_requested %}
{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, expanded=True) }}
{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, expanded=not replies_tree_node.is_root) }}
{% else %}
{{ utils.display_object(replies_tree_node.ap_object) }}
{% endif %}

View File

@ -443,7 +443,7 @@
{% if likes or shares %}
<div style="display: flex;column-gap: 20px;margin:20px 0;">
<div style="display: flex;column-gap: 20px;margin-top:20px;">
{% if likes %}
<div style="flex: 0 1 50%;max-width: 50%;">Likes
<div style="display: flex;column-gap: 20px;row-gap:20px;flex-wrap: wrap;margin-top:20px;">