Skip to content

DataViews: elements appear oversized on mobile #71562

Open

Description

@keoshi

Description

On mobile, certain UI elements within the DataViews component appear disproportionately large, making the layout look unbalanced and less polished.

Examples of oversized elements:

  • Search input placeholder
  • Pagination selector
  • Appearance options

This seems to be the default styling of the DataViews component, but it negatively impacts the mobile experience.

Expected behaviour

All elements should scale proportionally on mobile, maintaining visual balance and polish.

Actual behaviour

On mobile, the text in the elements mentioned above appear larger than expected.

Screenshots or screen recording (optional)

Search placeholder
Image

Pagination selector
Image

Appearance options
Image

Activity

  1. added
    [Type] Enhancement
    Mobile Web
    [Feature] DataViews
    [Package] DataViews
    on Sep 9, 2025
  2. jasmussen commented on Sep 9, 2025

    @jasmussen
    Contributor

    Thank you for the issue. I tend to agree with this: functionally this interface has evolved and includes a lot of controls, but as it gets adopted in more and more contexts as part of the component package, it's surfacing an opportunity for refinement. Let's definitely look at this, and would appreciate input from @WordPress/gutenberg-design.

  3. added
    Needs Design Feedback
    on Sep 9, 2025
  4. jameskoster commented on Sep 9, 2025

    @jameskoster
    Contributor

    All elements should scale proportionally on mobile, maintaining visual balance and polish.

    Agree with this. In an ideal world there would be a system that enables things like type styles and layout spacing to be holistically adjusted by tweaking a small handful of primitive tokens. Obviously that's a ton of work though 😅

    What’s tricky is making this issue actionable. I do agree the current look feels clunky, but simply removing the behavior could be seen as an accessibility regression?

  5. t-hamano commented on Sep 9, 2025

    @t-hamano
    Contributor

    Pagination selector
    Image

    At least for this page selector, the font size is probably not what was intended, so I think we can fix that right away. Perhaps we forgot to check the styles in the mobile layout, or maybe a regression occurred somewhere. See: #63815

  6. jameskoster commented on Sep 11, 2025

    @jameskoster
    Contributor

    I think the font-size adjustment on smaller screens is built into virtually all input components, including SelectControl:

    font-size.mp4
  7. annezazu commented on Oct 7, 2026

    @annezazu
    Contributor

    Noting that as of WordPress 7.1.3 this remains an issue.

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

    Mobile WebNeeds Design Feedback[Feature] DataViews[Package] DataViews[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions