mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Limit the number of lines to display in card titles
This commit is contained in:
10
public/js/dots.js
Normal file
10
public/js/dots.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const truncate = () => {
|
||||
$('.acard .uk-card-title').each((i, e) => {
|
||||
new Dotdotdot(e, {
|
||||
height: 120,
|
||||
truncate: 'letter'
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
truncate();
|
||||
Reference in New Issue
Block a user