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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue