Increase in-feed answer display length

This commit is contained in:
Andreas Nedbal 2022-04-08 22:02:33 +02:00 committed by Andreas Nedbal
parent e1478d770e
commit fdd8bf7962
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
.card-body
- if display_all.nil?
.answerbox__answer-text
= markdown a.content[0..255]
- if a.content.length > 255
= markdown a.content[0..640]
- if a.content.length > 640
[...]
%p
%a.btn.btn-primary{ href: show_user_answer_path(a.user.screen_name, a.id) }