From 9d3643df3325bcb440404669f6de7ec774184a29 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 14 Nov 2026 07:01:12 -0500 Subject: [PATCH] Sticky solid top bar so iPadOS doesn't blur it in the home-screen app iOS/iPadOS 26 draws a blur over the top of home-screen web apps; with a solid, full-width bar stuck to the top edge WebKit extends its color instead. The status banners now sit just below the bar. Co-Authored-By: Claude Opus 5.5 --- app/views/layouts/application.html.erb | 13 +++++++------ app/views/layouts/public.html.erb | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 31cf7cf..254df6d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -25,12 +25,8 @@ "<% if current_user %> data-offline-prep-aircraft-value="<%= offline_pages.to_json %>"<% end %>> <%= t(".skip_to_content_html") %> - - - -
+ <%# Solid and stuck to the top: iOS 26 home-screen apps then extend its color under the status bar instead of blurring it. %> +
<%= link_to root_path, class: "flex items-center gap-2 font-semibold tracking-tight whitespace-nowrap" do %> ✈ "><%= t(".sam") %> @@ -84,6 +80,11 @@ <% end %>
+ + +
<%= render "shared/flash" %> diff --git a/app/views/layouts/public.html.erb b/app/views/layouts/public.html.erb index cfffc7a..25771f4 100644 --- a/app/views/layouts/public.html.erb +++ b/app/views/layouts/public.html.erb @@ -20,7 +20,8 @@ <%= t(".skip_to_content_html") %> -
+ <%# Solid and stuck to the top: iOS 26 home-screen apps then extend its color under the status bar instead of blurring it. %> +
✈ <%= t(".simple_aircraft_manager") %><%= render "shared/theme_toggle" %>