Skip to content

fix(mobile): avatar badge clipping + stack page BottomBar above tab nav - #13

Merged
thinkclay merged 1 commit into
mainfrom
fix/mobile-ux-cluster
Jul 22, 2026
Merged

thinkclay merged 1 commit into
mainfrom
fix/mobile-ux-cluster

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Paired with UNI-Construct's mobile UX cluster work (Scaffald/SaaS#378, #384).

  • Avatar: the notification count badge was positioned top: 0; right: 0 — inside the avatar bounds — so it covered the second initial ("MR" rendered as "M"). Offset to -4 so it sits on the edge and initials stay fully legible.
  • BottomBar: a page-level bar (level="page", z-index 10000) rendered directly on top of the mobile tab nav. The nav (MobileBottomNav) is not a BottomBar, so it never hides via globalBarHidden and the two overlapped. Page bars now offset by navBarHeight and stack above the nav pill, keeping both usable.

Verified at 375×812 in UNI-Construct: header/drawer/profile all show "MR" unclipped, and the Jobs page toolbar sits above the tab bar instead of on it.

🤖 Generated with Claude Code

- Avatar: the notification count badge sat at top/right 0, inside the
  avatar bounds, covering the second initial ("MR" read as "M"). Offset
  it to the edge (-4) so initials stay legible.
  (UNI-Construct#384)
- BottomBar: a page-level bar (z-index 10000) landed directly on top of
  the mobile tab nav, which is not a BottomBar and so never hides via
  globalBarHidden. Offset page bars by navBarHeight so they stack above
  the nav pill and both remain usable.
  (UNI-Construct#378)

Co-Authored-By: Claude Fable 5 <[email protected]>
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