Skip to content

Commit

Permalink
truncate card description
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdoulrachard committed Apr 2, 2024
1 parent 54d964a commit 7891818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/actualities/ActualityCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
},
methods: {
truncateDescription(description) {
const maxHeight = 250;
const maxHeight = 25;
const container = document.createElement('div');
container.innerHTML = description;
Expand Down

0 comments on commit 7891818

Please sign in to comment.