1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

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;
}
el.readmore({
collapsedHeight: 44,
heightMargin: 20,
moreLink: '<a href="#" class="font-weight-bold small">Read more</a>',
lessLink: '<a href="#" class="font-weight-bold small">Hide</a>',
collapsedHeight: 45,
heightMargin: 48,
moreLink: '<a href="#" class="d-block font-weight-lighter small text-dark text-center">Read more ...</a>',
lessLink: '<a href="#" class="d-block font-weight-lighter small text-dark text-center">Hide</a>',
});
});
};