Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Center the chat box text beside the taller touch send button (#4808)

Yong Cong Sin37ba8df11a18
diff --git a/app/views/messages/_chat_form.html.erb b/app/views/messages/_chat_form.html.erb
index 59d177735c..419ca6d0c3 100644
--- a/app/views/messages/_chat_form.html.erb
+++ b/app/views/messages/_chat_form.html.erb
@@ -8,7 +8,7 @@
<% model = chat && chat.persisted? ? [chat, Message.new] : Chat.new %>
<%= form_with model: model,
- class: "flex lg:flex-col gap-2 bg-container px-2 py-1.5 rounded-full lg:rounded-lg shadow-border-xs",
+ class: "flex items-center lg:flex-col lg:items-stretch gap-2 bg-container px-2 py-1.5 rounded-full lg:rounded-lg shadow-border-xs",
data: { chat_target: "form", action: "submit->chat-reservation#hide" } do |f| %>
<%# In the future, this will be a dropdown with different AI models %>