diff --git a/app/views/posts/_new_related_post.haml b/app/views/posts/_new_related_post.haml index 8425ad3e..79bf33a2 100644 --- a/app/views/posts/_new_related_post.haml +++ b/app/views/posts/_new_related_post.haml @@ -6,7 +6,7 @@ description = post.post.image.value['description'] end -.col.mb-3 +.col.mb-3.p-1 = render('bootstrap/card', image: image, description: description, title: post.title, class: 'h-100') do - if post.post.attribute?(:description) %p.card-text= post.post.description.value