Repository navigation
Conversation
…d keep content clear of the bottom bar On phones the bottom bar is a fixed 60px strip and no page reserves room for it, so whatever sits at the end of a list scrolls underneath. On iPhones with a home indicator iOS keeps the page inside the safe area, so the bar ends above the screen edge: env(safe-area-inset-*) is always 0 unless the viewport opts into viewport-fit=cover. - size the bar to the iOS tab bar standard: 49px plus the bottom safe area, keeping the 28px icons above the home indicator - opt the viewport into viewport-fit=cover - page-level ScrollAreas pad their bottom by the bar height on mobile, so content scrolls under the bar and the last row still clears it. The reservation is opt-in (reserveMobileBottomBar), so lists in popovers and dialogs, which render above the bar, are untouched - the outer layout scroller reserves only for the AI page, which has no scroller of its own; drop that page's own 60px reservation, which ignored the "Hidden navigation bar on mobile" setting - align the fixed-header placeholder with the 56px mobile header (it reserved 64px) Co-Authored-By: Claude Code <noreply@anthropic.com>
The fixed mobile header and the bottom bar drew the same translucent glass twice with different values (blur(10px) vs blur(20px)), so the two bars did not match. Fold the header's style into getMobileGlassStyle() and use it for both. Co-Authored-By: Claude Code <noreply@anthropic.com>
When it is neither loading nor empty, the component still rendered its wrapper with a zero-height loader whose 8px top and -5px bottom margins left a 3px strip in the layout, which kept the note list from reaching the bottom edge on mobile. Return null instead. Co-Authored-By: Claude Code <noreply@anthropic.com>
This branch has not been 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.
Summary
On phones the bottom bar is a fixed 60px strip and no page reserves room for it, so the end of a list scrolls underneath. On iPhones with a home indicator the bar stops above the screen edge, because
env(safe-area-inset-*)stays0withoutviewport-fit=cover.60px49px + env(safe-area-inset-bottom)(iOS tab bar)blur(20px)getMobileGlassStyle()The reservation is opt-in so lists inside popovers and dialogs, which render above the bar, keep their size.
LoadingAndEmptynow renders nothing once loaded: its zero-height loader still took 3px of margin, which left a strip under the note list. Same component as #1255 / #1222, different reason; the changes do not overlap.Evidence
Chromium at 390×844, Android user agent,
mainvs this branch.End of the Analytics page (last 560px):
The last chart's legend is under the bar before and clear of it after.
End of the note list:
Measured after the change:
49px,rgba(255, 255, 255, 0.5)withblur(10px): the header's valuespadding-bottom: 49px, its bottom edge on the viewport bottom (7pxabove it before)ScrollArea, unchanged:padding-bottom: 0, 124px tallMerge Danger
Door: two-way
Layout only. Reverting restores the 60px bar and removes the reservation; no data or schema change.
Blast Radius: Mobile layout
49px + safe areaof bottom padding on phones. Desktop is untouched.viewport-fit=coveropts the whole page into the unsafe areas, and only the bottom inset is handled here. Nothing pads for the top one (home-screen apps with a translucent status bar) or the left and right ones (landscape on notched iPhones).0for the safe-area insets, so only that case was exercised. The inset-dependent sizes were not.🤖 Generated with Claude Code