Skip to content

Cross-cutting: responsive design, touch support & inline/stacked labels #30

Closed

Description

@n4ff4h

REQUIREMENTS §3 R3.18–R3.35. Applies to every component group; this issue tracks the shared pieces.

Responsive

  • Mobile-first from 320px to ≥1920px; container queries for components that sit in narrow columns
  • Built-in patterns: table → cards, panels → bottom sheets, sidebar → drawer, save bar → bottom bar, forms stack
  • No horizontal page scroll; 200% zoom / 400% reflow
  • Visual tests at 375 / 768 / 1280px

Touch

  • Pointer events everywhere; ≥44px targets on coarse pointers
  • No hover-only content
  • Gestures with button alternatives (swipe, drag-to-dismiss, touch sensors for drag-and-drop, pinch-zoom, finger/pen drawing)
  • Pickers as bottom sheets on phones; correct inputmode; safe-area insets; touch-action

Form labels

  • labelLayout="stacked" | "inline" per field and via form/fieldset context
  • --onu-label-width; inline falls back to stacked in narrow containers; RTL alignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions