From c4bdc8fd3eec0208dbe40ebc7d9a25a7139be99c Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Fri, 12 Dec 2014 19:01:34 +0100 Subject: [PATCH] design updates --- app/views/shared/_answerbox.html.haml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/shared/_answerbox.html.haml b/app/views/shared/_answerbox.html.haml index 4ccafe3d..c7c51a0c 100644 --- a/app/views/shared/_answerbox.html.haml +++ b/app/views/shared/_answerbox.html.haml @@ -25,10 +25,9 @@ = a.content[0..255] - if a.content.length > 255 [...] - %br/ - Answer too long to display. - %a{href: show_user_answer_path(a.user.screen_name, a.id)} - Read the entire answer + %p + %a.btn.btn-primary{href: show_user_answer_path(a.user.screen_name, a.id)} + Read the entire answer - else = a.content - if @user.nil?