This commit is contained in:
kek7198 2021-12-12 21:21:50 -06:00
parent 8f1c5e8b1a
commit f6434b5cc4
2 changed files with 3 additions and 3 deletions

View file

@ -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);