diff options
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | app/views/application/_chat.html.erb | 2 | ||||
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ced58..59a3b04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [0.1.7.2] - 2021-06-05 + +### UI +- Adjusted chat box so scrollbar lines up with main box scrollbar. + ## [0.1.7.1] - 2021-06-05 ### Fixed 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" %> |