mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
More design tweaks
This commit is contained in:
parent
beca3db5d1
commit
fb884de797
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
{% macro display_replies_tree(replies_tree_node) %}
|
{% macro display_replies_tree(replies_tree_node) %}
|
||||||
|
|
||||||
{% if replies_tree_node.is_requested %}
|
{% 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 %}
|
{% else %}
|
||||||
{{ utils.display_object(replies_tree_node.ap_object) }}
|
{{ utils.display_object(replies_tree_node.ap_object) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -443,7 +443,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if likes or shares %}
|
{% 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 %}
|
{% if likes %}
|
||||||
<div style="flex: 0 1 50%;max-width: 50%;">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;">
|
<div style="display: flex;column-gap: 20px;row-gap:20px;flex-wrap: wrap;margin-top:20px;">
|
||||||
|
|
Loading…
Reference in a new issue