Skip to content

Commit 6b03b6b

Browse files
committed
adjust icon sizes
1 parent 44e81d8 commit 6b03b6b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

components/dashboard/src/components/podkit/loading/LoadingState.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ import { Delayed } from "./Delayed";
99
import { FC } from "react";
1010

1111
type Props = {
12+
size?: number;
1213
delay?: boolean;
1314
};
14-
export const LoadingState: FC<Props> = ({ delay = true }) => {
15-
const loader = <Loader2 className="animate-spin" />;
15+
export const LoadingState: FC<Props> = ({ delay = true, size = 24 }) => {
16+
const loader = <Loader2 className="animate-spin" size={size} />;
1617

1718
if (!delay) {
1819
return loader;

components/dashboard/src/components/podkit/tables/SortableTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const SortableTableHead = React.forwardRef<
3939
{children}
4040
{/* keep element in dom to preserve space */}
4141
<span className={cn(!sortOrder && "invisible")}>
42-
{sortOrder === "asc" ? <ChevronUpIcon size={24} /> : <ChevronDownIcon size={24} />}
42+
{sortOrder === "asc" ? <ChevronUpIcon size={16} /> : <ChevronDownIcon size={16} />}
4343
</span>
4444
</Button>
4545
</TableHead>

components/dashboard/src/repositories/list/RepositoryTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const RepositoryTable: FC<Props> = ({
9696
<TableHead className="w-24 text-right">
9797
{isSearching && (
9898
<div className="flex flex-right justify-end items-center">
99-
<LoadingState delay={false} />
99+
<LoadingState delay={false} size={16} />
100100
</div>
101101
)}
102102
</TableHead>

0 commit comments

Comments
 (0)