Update components.js

This commit is contained in:
Daniel Supernault 2019-04-17 23:02:26 -06:00
parent e1f4968e8d
commit 66f145548d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -18,10 +18,10 @@ pixelfed.readmore = () => {
return; return;
} }
el.readmore({ el.readmore({
collapsedHeight: 44, collapsedHeight: 45,
heightMargin: 20, heightMargin: 48,
moreLink: '<a href="#" class="font-weight-bold small">Read more</a>', moreLink: '<a href="#" class="d-block font-weight-lighter small text-dark text-center">Read more ...</a>',
lessLink: '<a href="#" class="font-weight-bold small">Hide</a>', lessLink: '<a href="#" class="d-block font-weight-lighter small text-dark text-center">Hide</a>',
}); });
}); });
}; };