Skip to content

Commit

Permalink
style: fix table controls
Browse files Browse the repository at this point in the history
  • Loading branch information
eldu committed Feb 29, 2024
1 parent 024da4a commit d486873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PubsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ export function PubsTable() {
</Button>
</Col>
<Col sm={12} md={4} lg={4} className="d-flex justify-content-around">
<div className="d-flex">
<span className="me-2">Page</span>
<div className="d-flex align-items-center">
<span className="mx-2">Page</span>
<Form.Control
type="number"
defaultValue={table.getState().pagination.pageIndex + 1}
Expand All @@ -161,7 +161,7 @@ export function PubsTable() {
min={1}
max={table.getPageCount()}
/>
<span className="me-2">of {table.getPageCount()}</span>
<span className="mx-2 text-nowrap">of {table.getPageCount()}</span>
</div>
<div>
<Form.Select
Expand Down

0 comments on commit d486873

Please sign in to comment.