mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
Fix formatting of replies
This commit is contained in:
parent
7e449992f4
commit
9ee6e3f5f7
@ -10,9 +10,6 @@ img.fav-avatar {
|
||||
|
||||
}
|
||||
|
||||
.box.active_context {
|
||||
background-color: #FFF8DC;
|
||||
}
|
||||
|
||||
div.card-header-title, div.card-header-icon {
|
||||
color: black;
|
||||
@ -37,6 +34,10 @@ figure.media-left p.image a img
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.active-context {
|
||||
background-color: #FFF8DC;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.media {
|
||||
display: block;
|
||||
|
@ -17,19 +17,13 @@ mastodon.status_context(<numerical id>)
|
||||
{% block content %}
|
||||
<h1 class="title">Thread</h1>
|
||||
{% for ancestor in context.ancestors %}
|
||||
<div class="box">
|
||||
{% include "main/toot_partial.html" with toot=ancestor %}
|
||||
</div>
|
||||
<hr class="is-hidden">
|
||||
{% endfor %}
|
||||
<div class="box active_context">
|
||||
{% include "main/toot_partial.html" with toot=toot %}
|
||||
</div>
|
||||
{% include "main/toot_partial.html" with toot=toot active=True %}
|
||||
<hr class="is-hidden">
|
||||
{% for descendant in context.descendants %}
|
||||
<div class="box">
|
||||
{% include "main/toot_partial.html" with toot=descendant %}
|
||||
</div>
|
||||
<hr class="is-hidden">
|
||||
{% endfor %}
|
||||
|
||||
|
@ -3,7 +3,12 @@
|
||||
{% load taglinks %}
|
||||
{% load static %}
|
||||
|
||||
{% if active %}
|
||||
<article class="media active-context">
|
||||
{% else %}
|
||||
<article class="media">
|
||||
{% endif %}
|
||||
|
||||
<figure class="media-left">
|
||||
<p class="image is-64x64">
|
||||
<a href="{% url "user" toot.account.acct %}">
|
||||
|
Loading…
Reference in New Issue
Block a user