Skip to content

Commit

Permalink
Making card paragraph shorter in proposal_m_cell.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
simonaszilinskas authored and moustachu committed Dec 14, 2023
1 parent 9e8ae6f commit d5a865b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cells/decidim/proposals/proposal_m_cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def has_footer?
end

def description
strip_tags(body).truncate(200, separator: /\s/)
strip_tags(body).truncate(120, separator: /\s/)
end

def badge_classes
Expand Down

0 comments on commit d5a865b

Please sign in to comment.