Skip to content

Commit

Permalink
line clamp in responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdoulrachard committed Apr 2, 2024
1 parent bd43b5f commit 358be5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/actualities/ActualityCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,10 @@ export default {
.card-img-top {
transition: transform 0.3s ease !important;
}
@media (max-width: 767px) {
.line-clamp-3 {
-webkit-line-clamp: 5; /* Nombre de lignes maximal */
}
}
</style>

0 comments on commit 358be5c

Please sign in to comment.