summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/application/_chat.html.erb2
-rw-r--r--app/views/layouts/application.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/application/_chat.html.erb b/app/views/application/_chat.html.erb
index 2606fab..b656ed7 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 overflow-x-hidden break-words flex-grow">
+ <div data-chat-target="output" id="chat_output" class="game-container-box overflow-y-auto overflow-x-hidden break-words flex-grow">
</div>
<div class="flex-none">
<%= form_with model: ChatMessage.new, html: { autocomplete: "off" }, local: false,
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index a7068cd..5ec0e31 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -25,7 +25,7 @@
<%= yield %>
</div>
<% if user_signed_in? %>
- <div id="chat" class="game-container-box overflow-y-auto"
+ <div id="chat" class="overflow-y-auto"
style="min-height: 10%; max-height: 20%"
data-turbolinks-permanent>
<%= render "chat" %>