mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
cce1ce51b5
commit
9d3643df33
2 files changed
+9
-7
No files matched your search
@@ -20,7 +20,8 @@
|
||||
</head>
|
||||
<body class="min-h-full text-slate-800">
|
||||
<%= t(".skip_to_content_html") %>
|
||||
<header class="bg-header text-white">
|
||||
<%# Solid and stuck to the top: iOS 26 home-screen apps then extend its color under the status bar instead of blurring it. %>
|
||||
<header class="sticky top-0 z-40 bg-header text-white">
|
||||
<div class="mx-auto flex max-w-7xl items-center justify-between px-4 py-3"><span class="font-semibold"><span class="text-xl">✈</span> <%= t(".simple_aircraft_manager") %></span><%= render "shared/theme_toggle" %></div>
|
||||
</header>
|
||||
<main id="main" tabindex="-1" class="mx-auto max-w-7xl px-4 py-6 focus:outline-none">
|
||||
|
||||
Reference in new issue
Block a user