diff --git a/template-components/cards/card-news.css b/template-components/cards/card-news.css index 5601118..1dbd976 100644 --- a/template-components/cards/card-news.css +++ b/template-components/cards/card-news.css @@ -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;