From 3f077051bed4a8c8e6da98b03fe6639ac0751bd7 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 6 Aug 2025 17:46:34 -0500 Subject: [PATCH] Fix tray hat layout --- app/views/notifications/_tray.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/notifications/_tray.html.erb b/app/views/notifications/_tray.html.erb index 585196dbe..e0ef48465 100644 --- a/app/views/notifications/_tray.html.erb +++ b/app/views/notifications/_tray.html.erb @@ -9,8 +9,8 @@ data-action="keydown->navigable-list#navigate dialog:show@document->navigable-list#reset turbo-visit->navigable-list#reset keydown.esc->dialog#close:stop click@document->dialog#closeOnClickOutside"> <%= turbo_frame_tag "notifications", src: tray_notifications_path, refresh: "morph" %> -
-
+
+
<%= link_to settings_notifications_path, class: "btn borderless tray__notification-settings", title: "Notification settings", @@ -20,7 +20,7 @@ <% end %>
-
+
<%= link_to notifications_path, class: "btn borderless flex-item-grow position-relative overflow-ellipsis", data: { action: "click->dialog#close" } do %> <%= icon_tag "bell" %> See more new items @@ -32,7 +32,7 @@ class: "btn borderless tray__clear-notifications", title: "Mark all notifications as read", data: { action: "dialog#close badge#clear", turbo_frame: "notifications" }, - form: { data: { navigable_list_target: "item" } } do %> + form: { class: "full-width", data: { navigable_list_target: "item" } } do %> <%= icon_tag "check" %> Clear all <% end %>