Skip to content

Commit

Permalink
Hotfix: Dropdown items fully clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
krschacht committed Mar 19, 2024
1 parent d98e21c commit ab4eece
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/views/conversations/_conversation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
data: {
role: "confirm-delete",
},
class: "flex gap-2 w-full",
form: {
class: "inline-block",
class: "inline-block p-0",
data: { turbo_frame: "_top" },
} do
},
class: "flex gap-2 w-full py-2 px-4" do
%>
<%= icon "trash", variant: :outline, size: 18 %>Delete
<% end %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/messages/_message.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
<% ([message.assistant] + message.user.assistants.ordered.excluding(message.assistant)).each do |assistant| %>
<li class="overflow-hidden">
<%= button_to message_path(message),
form_class: "w-full",
class: "truncate",
form_class: "inline-block p-0",
class: "truncate w-full py-2 px-4 text-left",
method: :patch,
params: { message: {
content_text: nil,
Expand Down

0 comments on commit ab4eece

Please sign in to comment.