Skip to content

Inbox full screen: an HTML page runs to the window's foot on a desktop - #4053

Merged
backnotprop merged 1 commit into
mainfrom
fix/inbox-html-fullscreen-bottom-band
Nov 25, 2026
Merged

backnotprop merged 1 commit into
mainfrom
fix/inbox-html-fullscreen-bottom-band

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

In full screen on a desktop, an HTML page with the tools gathered stopped about 56 px above the window's foot. It made room for the 32 px corner control (⌃⌃). That left a strip the full width of the window under the page, in the window's own colour. On a dark page in a light Inbox, it looked like a broken light bar.

Cause: usePageClear (packages/inbox/components/htmlPageFrame.ts) measured the corner control while the tools were gathered. inbox.css then set .ib-htmlframe's bottom to that height. This came from 99e6b7b (2026-11-11), which kept a prototype's bottom-right "1 2 3 4" switcher clear of the corner control. It is not a regression from yesterday's comment-row changes.

Change: on a desktop, the page now runs to the window's foot in both states. The corner control floats over the page, as the toolbar does at the top and as both do over a picture or a Markdown file. A phone is unchanged: its page still stops above its toolbar, which stays in the corner in both states. Side by side is unchanged.

Trade-off: with the tools gathered on a desktop, the corner control can cover a page's own control in the far bottom-right corner again. Pressing the control brings the tools back to the top right, and the corner is then free.

Tests:

  • New DOM test packages/inbox/htmlPageClear.test.tsx. It fails without the fix (56 px), and the phone case still clears.
  • tests/e2e/inbox-prototype-navigation.spec.ts now checks that, with the tools gathered, the frame reaches the window's foot and the bottom-left point belongs to the page. With the tools back, the switcher is still clickable.
  • The docs guide is updated.

With the tools gathered, a desktop's HTML page stopped above the 32 px
corner control, leaving a strip the width of the window under the page
in the window's own colour (a light strip under a dark page). The page
now runs to the foot and the corner control floats over it, as the
toolbar does at the top and as it does over a picture or Markdown. A
phone still stops above its toolbar.
@backnotprop backnotprop added the ci:e2e Run the full browser suite (Inbox window e2e) on this PR label Nov 25, 2026
@backnotprop
backnotprop marked this pull request as ready for review November 25, 2026 18:54
@backnotprop
backnotprop merged commit 97c85a1 into main Nov 25, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the full browser suite (Inbox window e2e) on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant