Skip to content

Commit cd73564

Browse files
samejrTrigger.dev RepoOps
authored andcommitted
Fix Preview branches pagination alignment
Keep pagination at the far right of the Preview branches toolbar, after the New branch or purchase button. Mono-RevId: aac17b393f142086cd94b41bd7ed7da93126dd89
1 parent 4a94982 commit cd73564

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.branches

‎apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.branches/route.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,6 @@ export default function Page() {
318318
)}
319319
</BranchFilters>
320320
<div className="flex shrink-0 items-center gap-1.5">
321-
<PaginationControls
322-
currentPage={currentPage}
323-
totalPages={totalPages}
324-
showPageNumbers={false}
325-
/>
326321
{limits.isAtLimit ? (
327322
<UpgradePanel
328323
limits={limits}
@@ -356,6 +351,11 @@ export default function Page() {
356351
env="preview"
357352
/>
358353
)}
354+
<PaginationControls
355+
currentPage={currentPage}
356+
totalPages={totalPages}
357+
showPageNumbers={false}
358+
/>
359359
</div>
360360
</div>
361361
)}

0 commit comments

Comments
 (0)