Skip to content

Commit 9398543

Browse files
jvorcakclaude
andcommitted
fix(consumers): move full-width utility to call site to avoid registry drift
The pagination full-width fix edited the vendored list-layout registry component in-place, which the UI audit flags as locally-modified drift. Revert list-layout to its released bytes and apply [&>*]:w-full via className at the ListLayoutPagination call site instead — same render, no registry drift. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9fcb41a commit 9398543

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

frontend/src/components/pages/consumers/group-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ const GroupList: FC = () => {
348348
<TableBody>{renderBody()}</TableBody>
349349
</Table>
350350

351-
<ListLayoutPagination>
351+
<ListLayoutPagination className="[&>*]:w-full">
352352
<DataTablePagination table={table} />
353353
</ListLayoutPagination>
354354
</ListLayout>

frontend/src/components/redpanda-ui/components/list-layout.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ interface ListLayoutPaginationProps extends React.HTMLAttributes<HTMLDivElement>
169169
const ListLayoutPagination = React.forwardRef<HTMLDivElement, ListLayoutPaginationProps>(
170170
({ className, children, ...props }, ref) => (
171171
<div
172-
className={cn(
173-
'flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between [&>*]:w-full',
174-
className
175-
)}
172+
className={cn('flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between', className)}
176173
ref={ref}
177174
{...props}
178175
>

0 commit comments

Comments
 (0)