Skip to content

fix(screening): at large text on a phone, the form's Start and Save bar sits at the end of the form instead of over it - #1681

Merged
sickerine merged 1 commit into
devfrom
fix/screening-action-bar-large-text
Dec 1, 2026
Merged

sickerine merged 1 commit into
devfrom
fix/screening-action-bar-large-text

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Found by the daily QA of 1 December (both passes hit it); the user picked this fix.

At 200% text on a phone, the new-screening form's bottom bar (papers to screen, cost, Start) covered most of the screen under the navigation and the page's sticky header. A source's Add in Add papers from couldn't be pressed.

ActionBar (components/screening/pieces.tsx) now follows the rule StickyPageHeader has had since #1505: on a phone (under sm), a bar taller than half the screen under the navigation stops sticking and sits at the end of its card. It measures on its own resize and the window's; the navigation's height (set in rem) is read in pixels from the bar's scroll-margin-top. The form's Start bar and Settings' Save bar take it. Screen's vote bar, fixed to the window below lg, passes stays and keeps its place.

Measured on /screening/new as the Verify Agent, dev against a production build of this branch:

Size dev: bar dev: room for the form branch: bar branch: room for the form
360x740, 100% sticky, 119px 468px same same
360x740, 200% sticky, 477px none (overlaps the header by 98px) at the end of the card 379px
390x844, 100% sticky, 119px 572px same same
390x844, 200% sticky, 397px 86px at the end of the card 483px
1440x900, 100% and 200% sticky 742px, 586px same same

At 390 and 200%, Start screening is pressable once scrolled to the end of the form.

Checks: tsc --noEmit, check:ui-rules, npm run verify -- shift /screening/new passes in Chromium and Firefox (the avatar it lists happens on dev too). No test: a layout rule measured in the browser above.

…ar sits at the end of the form instead of over it

At 200% text on a 390x844 phone the new-screening form's bottom bar was 397px tall
under 361px of navigation and page header, leaving 86px of the form; at 360x740 it
overlapped the header and none was left, so a source's Add couldn't be pressed.
ActionBar now takes the rule StickyPageHeader has had since #1505: on a phone, a bar
taller than half the screen under the navigation stops sticking and sits at the end
of its card. Screen's vote bar, fixed to the window below lg, keeps its place.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 156b4d5c-269a-43a0-a04e-ce15a2558a40
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T08:55:49.297539Z 4409439 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sickerine
sickerine merged commit 7438e07 into dev Dec 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant