Repository navigation
fix(web): seamless chat header and tighter composer edge on iPhone - #25
Merged
Merged
Conversation
…om edge In iOS standalone mode (apple-mobile-web-app-status-bar-style=black), the status bar sits outside the webview in a solid fill while the chat header starts directly below it, so any translucent header produced a visible seam and masked backdrop-filter layers sliced text lines and smeared the scroll indicator. In light mode, meta[name=theme-color] also lagged behind the bots surface colour because syncBrowserChromeTheme did not re-run when data-bots-app mounted and preferred --app-chrome-background over --bots-page on named themes. At the bottom, BOT_SOFT_ZONE_PX plus the list footer spacer left ~66px of empty space above the composer pill. Make the chat header opaque in --bots-page (no backdrop-filter) with isolation: isolate and an eased colour-gradient skirt below it, keep data-top-edge so iOS 26 fills the status bar in the same colour, and sync meta[name=theme-color] from the bots inset surface when data-bots-app toggles. At the bottom, replace the masked blur layers with one plain unmasked frosted rectangle tucked flush with the composer pill plus a 1rem colour-gradient skirt, and remove BOT_SOFT_ZONE_PX and the extra footer spacer in bot chats.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In iPhone standalone mode (
apple-mobile-web-app-status-bar-style="black"), the status bar sits outside the webview in a solid fill while the chat header starts directly below it, so the translucent header left a sharp seam and maskedbackdrop-filterlayers sliced scrolled lines and smeared the scroll indicator. At the bottom of a chat,BOT_SOFT_ZONE_PXand the list footer spacer left ~66px of empty space above the composer pill, and in light modemeta[name="theme-color"]lagged behind the bots surface colour.[data-chat-header]::afteropaque in--bots-pagewithisolation: isolateand nobackdrop-filter, kept[data-top-edge]for iOS 26 status-bar colour matching, and added a1.5remeased colour-gradient skirt below the header so scrolled messages fade cleanly into the bar.syncBrowserChromeTheme()to read the bots inset surface whendata-bots-appis active and invoked it whendata-bots-appmounts or unmounts inAppSidebarLayout, matching the status bar and header across dark, light, and named themes.blur(7px) saturate(140%)) tucked flush with the composer pill plus a1remcolour-gradient skirt, removedBOT_SOFT_ZONE_PX, and collapsed the extra footer spacer in bot chats so the last message rests ~22px above the pill while scrolled content passes softly behind it. All layers remain opaque during view transitions.Before on the left, after on the right (390×844, synthetic transcripts).
Standalone top edge (59px status bar + mid-scroll bubble), dark:
Standalone top edge, light:
Standalone top edge, Grove dark:
End of chat, dark:
End of chat, light:
gemini-4-neon · Antigravity