Skip to content

UI: review padding on cards and containers (Watchlist Sync card has no bottom padding) #392

Closed

Description

@mchestr

Problem

Some cards and containers have too little padding. Example: on the member home page, the Watchlist Sync card ("Anything you add to your Plex watchlist is requested for you.") looks squished and has no bottom padding when sync is off.

Cause of the example

CardHeader in components/ui/card.tsx has pt-5 but no bottom padding. CardContent (py-4) and CardFooter (py-3) usually add the bottom space. components/watchlist/sync-settings-card.tsx renders CardContent only when sync is on. When sync is off, the card ends at the description text.

Scope

  1. Fix Card so that a card with only a CardHeader has bottom padding. One option: last:pb-5 on CardHeader.
  2. Review the padding of every surface: cards, sheets, dialogs, alerts, empty states, tables and page containers.
  3. Check each page at mobile, tablet and desktop widths, in all states (empty, loading, error, on/off).
  4. Use the standard Tailwind scale. Remove one-off padding overrides that fight the primitives.
  5. Add a rule to scripts/design-system/rules.mjs if a repeated bad pattern shows up.
  6. Refresh the visual baselines (e2e/visual/README.md) after the fixes.

Acceptance

  • The Watchlist Sync card has equal top and bottom padding when sync is off.
  • No card, sheet or dialog has content touching its edge at any breakpoint.

Activity

  1. added
    bug
    enhancement
    on Oct 23, 2026
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

    bugenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions