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:
parent
e1f4968e8d
commit
66f145548d
1 changed files with 4 additions and 4 deletions
8
resources/assets/js/components.js
vendored
8
resources/assets/js/components.js
vendored
|
@ -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>',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue