sdf
parent
81b781ef84
commit
3d641c08d8
|
@ -1,5 +1,21 @@
|
|||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
||||
<style>
|
||||
.anchor::before {
|
||||
display: block;
|
||||
content: " ";
|
||||
margin-top: -100px;
|
||||
height: 100px;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.anchor:target {
|
||||
background-color: #ffa;
|
||||
-webkit-transition: all 1s linear;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% if v %}
|
||||
<script src="/assets/js/comments_v.js"></script>
|
||||
{% endif %}
|
||||
|
@ -142,7 +158,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="comment-{{c.id}}" class="{% if c.unread %}context{% endif %} comment {% if standalone and level==1 %} mt-0{% endif %}{% if c.collapse_for_user(v) or (standalone and c.over_18 and not (v and v.over_18)) %} collapsed{% endif %}" style="border-left: 2px solid #{{c.author.namecolor}}; {% if c.unread %}padding: 10px 10px 10px !important;{% endif %}">
|
||||
<div id="comment-{{c.id}}" class="anchor {% if c.unread %}context{% endif %} comment {% if standalone and level==1 %} mt-0{% endif %}{% if c.collapse_for_user(v) or (standalone and c.over_18 and not (v and v.over_18)) %} collapsed{% endif %}" style="border-left: 2px solid #{{c.author.namecolor}}; {% if c.unread %}padding: 10px 10px 10px !important;{% endif %}">
|
||||
|
||||
<span class="comment-collapse-desktop d-none d-md-block" {% if not c.unread %}style="border-left: 2px solid #{{c.author.namecolor}};"{% endif %} onclick="collapse_comment('{{c.id}}')"></span>
|
||||
<div class="comment-body">
|
||||
|
|
Loading…
Reference in New Issue