line clamp after 4lines
This commit is contained in:
parent
ccf89d7cd8
commit
fdfcc5aca1
|
|
@ -49,7 +49,13 @@
|
|||
|
||||
&__title {
|
||||
@apply !text-lg font-bold text-secondary mb-1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 1.2 !important;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 4; /* number of lines to show */
|
||||
line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
.cta--read-more {
|
||||
@apply text-neutral-900 mt-auto;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user