From c3e3249a2afe4e997763aee968ab90a9ab9a63d1 Mon Sep 17 00:00:00 2001 From: Jake Howell Date: Wed, 7 Jan 2026 10:46:04 +1100 Subject: [PATCH] fix: manually override pagination sizes (#21424) Closes #21260 Pagination buttons could overflow their container on narrower pages (e.g. audit / logs) because the page button was effectively fixed-width. This updates the pagination button styling to allow it to expand with its content (`min-w-8 w-auto`), preventing overflow while keeping the same icon-button look. | Previously | Now | | --- | --- | | pagination-old-treatment | pagination-new-treatment | --- site/src/components/PaginationWidget/PageButtons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/site/src/components/PaginationWidget/PageButtons.tsx b/site/src/components/PaginationWidget/PageButtons.tsx index 666720b62b..117bba1924 100644 --- a/site/src/components/PaginationWidget/PageButtons.tsx +++ b/site/src/components/PaginationWidget/PageButtons.tsx @@ -74,6 +74,7 @@ const BasePageButton: FC = ({ name={name} disabled={disabled} onClick={onClick} + className="min-w-8 w-auto" > {children}