1
0
Fork 0

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
1 changed files with 4 additions and 4 deletions

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>',
});
});
};