Skip to content

[Bug]: Pagination component should not switch to column layout at small screen widths #1008

@natalyjazzviolin

Description

@natalyjazzviolin

What happened?

The Pagination component's outer Container uses isResponsive={true} by default, which causes it to switch from flex-direction: row to flex-direction: column at ≤768px. This breaks the layout because:

  1. The justify-content: space-between that spaces "X rows" and the page navigation apart on the horizontal axis stops working, it now applies vertically.
  2. Items center horizontally instead of spreading apart, and the page input stretches.
  3. The inner nav controls (prev/next buttons, page input) are already designed to stay compact (fillWidth={false}, maxWidth="50px" on the input), so the column stacking doesn't improve usability.

Expected behavior: The pagination row should maintain its horizontal layout at all screen widths, with "X rows" on the left and page navigation on the right.

Suggested fix: Pass isResponsive={false} to the outer Container in Pagination.tsx so it always stays as a row.

Component(s) affected

Pagination

How to reproduce

  1. Use a pagination component
  2. Minimize the screen so the smallest media query activates

Click UI Version

current

Browser(s)

Chrome

Operating system

macOS

Is this a regression?

No, never worked as far as I know

Last working version (if regression)

No response

Screenshots or recording

Image

Visual / UX checklist

  • Checked in both light and dark mode (if applicable)
  • Checked at different viewport sizes (if applicable)
  • Checked with keyboard navigation (if applicable)
  • Checked for visual regressions in related components

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions