mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Limit title text height in CSS
This commit is contained in:
parent
32dc3e84b9
commit
68d1b55aea
@ -8,6 +8,9 @@
|
||||
max-height: 350px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.uk-card-title {
|
||||
height: 3em;
|
||||
}
|
||||
.acard:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
const truncate = () => {
|
||||
$('.acard .uk-card-title').each((i, e) => {
|
||||
new Dotdotdot(e, {
|
||||
height: 120,
|
||||
$(e).dotdotdot({
|
||||
truncate: 'letter'
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user