Skip to content

Commit

Permalink
fix word wrap on answers
Browse files Browse the repository at this point in the history
  • Loading branch information
videah committed Jan 23, 2023
1 parent 1f7ea2d commit 4733837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>This is the profile for @{{ user.username }}</h1>
{% let answer = pair.1.clone() %}
{% let answer_human_time = chrono_humanize::HumanTime::from(answer.created_at.clone()) %}
{% let question_human_time = chrono_humanize::HumanTime::from(question.created_at.clone()) %}
<div class="question round-card hx-fade-out my-4">
<div class="question round-card hx-fade-out my-4 overflow-hidden break-words">
<p class="text-stone-500">Asked by Anonymous - {{ answer_human_time }}</p>
<p>
{{ question.body }}
Expand Down

0 comments on commit 4733837

Please sign in to comment.