• Aryan Noshirvnai's avatar
    Make the webapp mobile-friendly · c55e7092
    Aryan Noshirvnai authored
    - index.html: viewport-fit=cover (enables safe-area-inset-* for notches/
      home indicators), theme-color, mobile/apple-web-app-capable meta tags
    - Layout: fixed bottom tab bar on mobile (sm:hidden) with icons, thumb-
      reachable instead of the old horizontal top nav, which stays for sm+
      screens instead; main content gets pb-24 on mobile so it doesn't sit
      under the fixed tab bar
    - RoomView (full-screen, doesn't use Layout so needed its own handling):
      h-dvh instead of min-h-screen so the chat input actually stays pinned to
      the visible viewport bottom with the keyboard open; safe-area padding on
      header/input bar
    - All interactive buttons/inputs bumped to a real ~44px touch target
      (Discovery's swipe buttons and Channels' follow button were the worst
      offenders, py-1/py-1.5 only)
    - Text inputs explicitly text-base (16px): anything smaller triggers iOS
      Safari's auto-zoom-on-focus, which is jarring
    
    Typechecks clean, production build succeeds. Couldn't visually verify in a
    real browser this session (no browser tooling available) - worth an actual
    phone check.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    c55e7092
Upload.tsx 2.58 KB