Skip to content

Commit

Permalink
Add 'overflow-wrap-anywhere' to reply messages and reply prompt messa…
Browse files Browse the repository at this point in the history
…ge (#1144)
  • Loading branch information
MatthiasReumann authored Aug 30, 2023
1 parent 710cc24 commit ed017c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/template/components/chat.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
</div>
<div class="group p-2 rounded hover:bg-gray-100 dark:hover:bg-gray-700">
<div class="flex justify-between">
<span class="w-5/6 my-auto" x-html="reply.message"></span>
<span class="w-5/6 overflow-wrap-anywhere my-auto" x-html="reply.message"></span>
<span class="hidden group-hover:inline text-xs text-5 font-light mt-auto"
x-text="reply.friendlyCreatedAt()"></span>
</div>
Expand Down Expand Up @@ -255,7 +255,7 @@
class="h-fit fa-video text-xs text-white bg-red-400 p-1 rounded fas mr-1"></span>
<span class="text-2 font-semibold mr-2" x-text="`${reply.message.name}:`"
:style="'color:'+reply.message.color"></span>
<span class="" x-html="reply.message.message"
<span class="w-5/6 overflow-wrap-anywhere" x-html="reply.message.message"
x-init="$nextTick(() => renderMathInElement($el, global.getKatexOptions()))"></span>
</div>
</article>
Expand Down

0 comments on commit ed017c5

Please sign in to comment.