mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 10:29:17 +00:00
improvement: align pagination left on grid view project overview
This commit is contained in:
@@ -54,7 +54,7 @@ export const Pagination = ({
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{startAdornment}
|
{startAdornment}
|
||||||
<div className="ml-auto mr-6 flex items-center space-x-2">
|
<div className={twMerge("mr-4 flex items-center space-x-2", startAdornment && "ml-auto")}>
|
||||||
<div className="text-xs">
|
<div className="text-xs">
|
||||||
{(page - 1) * perPage + 1} - {Math.min((page - 1) * perPage + perPage, count)} of {count}
|
{(page - 1) * perPage + 1} - {Math.min((page - 1) * perPage + perPage, count)} of {count}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -876,7 +876,7 @@ const OrganizationPage = () => {
|
|||||||
<Pagination
|
<Pagination
|
||||||
className={
|
className={
|
||||||
projectsViewMode === ProjectsViewMode.GRID
|
projectsViewMode === ProjectsViewMode.GRID
|
||||||
? "col-span-full border-transparent bg-transparent"
|
? "col-span-full !justify-start border-transparent bg-transparent pl-2"
|
||||||
: "rounded-b-md border border-mineshaft-600"
|
: "rounded-b-md border border-mineshaft-600"
|
||||||
}
|
}
|
||||||
perPage={perPage}
|
perPage={perPage}
|
||||||
|
|||||||
Reference in New Issue
Block a user