From aafe8ffa8024e07e711247e2bfa0261586b2b183 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 31 Oct 2025 11:34:42 -0500 Subject: [PATCH] Don't goof with mobile --- app/assets/stylesheets/trays.css | 4 ++++ app/views/bar/_bar.html.erb | 2 +- app/views/my/pins/_tray.html.erb | 2 +- app/views/notifications/_tray.html.erb | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/trays.css b/app/assets/stylesheets/trays.css index 54096b88e..519baca57 100644 --- a/app/assets/stylesheets/trays.css +++ b/app/assets/stylesheets/trays.css @@ -87,6 +87,10 @@ display: none; } + .tray__toggle-text { + display: contents; + } + @media (max-width: 799px) { /* When collapsed on mobile, make it small */ .tray__dialog:not([open]) ~ & { diff --git a/app/views/bar/_bar.html.erb b/app/views/bar/_bar.html.erb index a1eb72343..4858ce2a8 100644 --- a/app/views/bar/_bar.html.erb +++ b/app/views/bar/_bar.html.erb @@ -3,7 +3,7 @@
<%= tag.button class: "btn btn--plain", data: { controller: "hotkey", action: "bar#search keydown.k@document->hotkey#click" } do %> - Search <% if platform.desktop? -%>K<% end %> + Search <% if platform.desktop? -%>K<% end %> <% end %>
diff --git a/app/views/my/pins/_tray.html.erb b/app/views/my/pins/_tray.html.erb index 9fd3aacb3..aa3a5d4e2 100644 --- a/app/views/my/pins/_tray.html.erb +++ b/app/views/my/pins/_tray.html.erb @@ -14,7 +14,7 @@ diff --git a/app/views/notifications/_tray.html.erb b/app/views/notifications/_tray.html.erb index 7fd5f3115..a009835a4 100644 --- a/app/views/notifications/_tray.html.erb +++ b/app/views/notifications/_tray.html.erb @@ -42,7 +42,7 @@