Skip to content

Commit c518b3f

Browse files
committed
fix(caption): move caption to bottom of table
1 parent 54d39a9 commit c518b3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ui/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const TableCaption = React.forwardRef<
172172
>(({ className, ...props }, ref) => (
173173
<caption
174174
ref={ref}
175-
className={cn("text-muted-foreground mt-4 text-sm", className)}
175+
className={cn("mt-4 text-sm text-body-medium", className)}
176176
{...props}
177177
/>
178178
))

src/pages/gas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ const GasPage = () => {
319319
</p>
320320
</div>
321321
<Table className="min-w-[auto] max-w-full">
322-
<TableCaption className="text-sm">
322+
<TableCaption className="caption-bottom">
323323
<Translation id="page-gas:page-gas-table-figure" />
324324
</TableCaption>
325325
<TableHeader>

0 commit comments

Comments
 (0)