diff options
author | David Gay <david@davidgay.org> | 2021-05-29 11:40:05 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-29 11:40:05 -0400 |
commit | ac727f5534c396094d56c4f2564c64f303777465 (patch) | |
tree | f5f9b413883ec5df86615a64b31f45328cf7fa8e /app/views/application | |
parent | 67ea4f02c83a19e46180d3a0221670029cb882ff (diff) |
Prevent chat horizontal scroll
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_chat.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_chat.html.erb b/app/views/application/_chat.html.erb index f8aa4ad..2606fab 100644 --- a/app/views/application/_chat.html.erb +++ b/app/views/application/_chat.html.erb @@ -1,6 +1,6 @@ <% if current_char %> <div data-controller="chat" class="flex flex-col h-full text-sm"> - <div data-chat-target="output" id="chat_output" class="overflow-auto flex-grow"> + <div data-chat-target="output" id="chat_output" class="overflow-auto overflow-x-hidden break-words flex-grow"> </div> <div class="flex-none"> <%= form_with model: ChatMessage.new, html: { autocomplete: "off" }, local: false, |