+
{t("table.page")}
- {
- if (Number.isNaN(pageInput)) return
- if (pageInput > 0) setPageIndex(pageInput - 1)
- else setPageIndex(0)
- }}
- onChange={(e) => setPageInput(Number(e.target.value))}
- className='mx-2 w-20'
+ {
+ if (Number.isNaN(pageInput)) return
+ if (pageInput > 0) setPageIndex(pageInput - 1)
+ else setPageIndex(0)
+ }}
+ onChange={(e) => setPageInput(Number(e.target.value))}
+ className='mx-2 h-8 w-20'
/>
{t("table.of")} {pageCount}
diff --git a/web/src/components/ui/scroll-area.tsx b/web/src/components/ui/scroll-area.tsx
index ba9b499..5f40079 100644
--- a/web/src/components/ui/scroll-area.tsx
+++ b/web/src/components/ui/scroll-area.tsx
@@ -45,9 +45,9 @@ const ScrollBar = React.forwardRef<
className={cn(
'flex touch-none select-none transition-colors',
orientation === 'vertical' &&
- 'h-full w-2.5 border-l border-l-transparent p-[1px]',
+ 'h-full w-2.5 border-l border-l-transparent p-[1px]',
orientation === 'horizontal' &&
- 'h-2.5 flex-col border-t border-t-transparent p-[1px]',
+ 'h-2.5 flex-col border-t border-t-transparent p-[1px]',
className
)}
{...props}
diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsx
index 1826e9c..a407429 100644
--- a/web/src/components/ui/table.tsx
+++ b/web/src/components/ui/table.tsx
@@ -5,13 +5,13 @@ const Table = React.forwardRef<
HTMLTableElement,
React.HTMLAttributes
>(({ className, ...props }, ref) => (
-
))
Table.displayName = 'Table'
@@ -19,7 +19,7 @@ const TableHeader = React.forwardRef<
HTMLTableSectionElement,
React.HTMLAttributes
>(({ className, ...props }, ref) => (
-
+
))
TableHeader.displayName = 'TableHeader'
diff --git a/web/src/components/virtualized-select.tsx b/web/src/components/virtualized-select.tsx
index 701c846..ed445e0 100644
--- a/web/src/components/virtualized-select.tsx
+++ b/web/src/components/virtualized-select.tsx
@@ -224,6 +224,7 @@ interface VirtualizedSelectProps {
defaultValue?: string | string[];
noItemsComponent?: React.ReactNode;
multiple?: boolean;
+ size?: 'default' | 'sm' | 'lg' | 'icon';
}
export function VirtualizedSelect({
@@ -232,6 +233,7 @@ export function VirtualizedSelect({
className,
defaultValue,
value,
+ size = 'default',
isLoading,
disabled = false,
placeholder = 'Search items...',
@@ -281,6 +283,7 @@ export function VirtualizedSelect({