From 2b918490416d84816834c1ae1126d7a778dfda4d Mon Sep 17 00:00:00 2001 From: hatz Date: Fri, 23 May 2025 14:05:57 -0500 Subject: [PATCH] use transparent --- app/views/chats/edit.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/chats/edit.html.erb b/app/views/chats/edit.html.erb index 3c950bbb..5789efe5 100644 --- a/app/views/chats/edit.html.erb +++ b/app/views/chats/edit.html.erb @@ -1,10 +1,9 @@ <%= turbo_frame_tag dom_id(@chat, :title), class: "block" do %> - <% bg_class = params[:ctx] == "chat" ? "bg-container-inset" : "bg-container" %> <%= styled_form_with model: @chat, data: { controller: "auto-submit-form", auto_submit_form_trigger_event_value: "blur" } do |f| %> <%= f.text_field :title, data: { auto_submit_form_target: "auto" }, autofocus: true, inline: true, - class: "w-full rounded-md px-2 py-1 text-sm font-medium #{bg_class}" %> + class: "w-full rounded-md px-2 py-1 text-sm font-medium bg-transparent" %> <% end %> <% end %>