fix
This commit is contained in:
parent
8f1c5e8b1a
commit
f6434b5cc4
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ function timestamp(str, ti) {
|
|||
|
||||
function expandText(id) {
|
||||
const el = document.getElementById('post-text-'+id);
|
||||
['gradient-mask', 'max-h-32', 'overflow-hidden', 'pointer-events-none', 'text-gray-600'].map(v=> el.classList.toggle(v));
|
||||
['gradient-mask', 'max-h-12', 'overflow-hidden', 'pointer-events-none', 'text-gray-600'].map(v=> el.classList.toggle(v));
|
||||
['text-black'].map(v=> el.classList.toggle(v));
|
||||
|
||||
const trigger = document.getElementsByClassName('text-expand-icon-'+id);
|
||||
|
|
|
@ -232,7 +232,7 @@
|
|||
</h5>
|
||||
|
||||
{% if p.realbody(v) and not p.over_18 %}
|
||||
<div class="gradient-mask max-h-12 mb-2 overflow-hidden pointer-events-none text-gray-600" style="max-height: 3rem;" id="post-text-{{p.id}}">
|
||||
<div class="gradient-mask max-h-12 mb-2 overflow-hidden pointer-events-none text-gray-600" id="post-text-{{p.id}}">
|
||||
{{p.realbody(v) | safe}}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -377,7 +377,7 @@
|
|||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script defer src="/assets/js/new_comments_count.js?v=200"></script>
|
||||
<script defer src="/assets/js/submission_listing.js?v=200"></script>
|
||||
<script defer src="/assets/js/submission_listing.js?v=201"></script>
|
||||
|
||||
<style>
|
||||
.mod:before {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue