fix
This commit is contained in:
parent
f304c62486
commit
543b88a386
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ function timestamp(str, ti) {
|
||||||
|
|
||||||
function expandText(id) {
|
function expandText(id) {
|
||||||
const el = document.getElementById('post-text-'+id);
|
const el = document.getElementById('post-text-'+id);
|
||||||
['gradient-mask', 'max-h-12', 'overflow-hidden', 'pointer-events-none', 'text-gray-600', 'dark:text-gray-400'].map(v=> el.classList.toggle(v));
|
['gradient-mask', 'max-h-10', 'overflow-hidden', 'pointer-events-none', 'text-gray-600', 'dark:text-gray-400'].map(v=> el.classList.toggle(v));
|
||||||
['text-black', 'dark:text-gray-100'].map(v=> el.classList.toggle(v));
|
['text-black', 'dark:text-gray-100'].map(v=> el.classList.toggle(v));
|
||||||
|
|
||||||
const trigger = document.getElementsByClassName('text-expand-icon-'+id);
|
const trigger = document.getElementsByClassName('text-expand-icon-'+id);
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
{% if p.realbody(v) and not p.over_18 %}
|
{% if p.realbody(v) and not p.over_18 %}
|
||||||
<div class="relative z-10 gradient-mask max-h-12 overflow-hidden pointer-events-none text-gray-600 break-words" style="word-break: break-word;" id="post-text-{{p.id}}">
|
<div class="relative z-10 gradient-mask max-h-10 overflow-hidden pointer-events-none text-gray-600 break-words" style="word-break: break-word;" id="post-text-{{p.id}}">
|
||||||
{{p.realbody(v) | safe}}
|
{{p.realbody(v) | safe}}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -383,7 +383,7 @@
|
||||||
{% include "CHRISTMAS/expanded_image_modal.html" %}
|
{% include "CHRISTMAS/expanded_image_modal.html" %}
|
||||||
|
|
||||||
<script defer src="/assets/CHRISTMAS/js/new_comments_count.js?v=200"></script>
|
<script defer src="/assets/CHRISTMAS/js/new_comments_count.js?v=200"></script>
|
||||||
<script defer src="/assets/CHRISTMAS/js/submission_listing.js?v=202"></script>
|
<script defer src="/assets/CHRISTMAS/js/submission_listing.js?v=203"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.mod:before {
|
.mod:before {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue