From fdd8bf7962b3a6aee23f491d2ebe23c4fcf3f948 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Fri, 8 Apr 2022 22:02:33 +0200 Subject: [PATCH] Increase in-feed answer display length --- app/views/application/_answerbox.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/application/_answerbox.haml b/app/views/application/_answerbox.haml index 58217090..c9e435bf 100644 --- a/app/views/application/_answerbox.haml +++ b/app/views/application/_answerbox.haml @@ -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) }