website refactor

This commit is contained in:
2026-01-19 01:24:07 +01:00
parent e1ce3bffd1
commit edc4cd7f21
64 changed files with 1113 additions and 753 deletions

View File

@@ -1,6 +1,7 @@
'use client';
import { Card } from '@/ui/Card';
import { Box } from '@/ui/Box';
import React from 'react';
interface AdminDataTableProps {
@@ -20,14 +21,12 @@ export function AdminDataTable({
}: AdminDataTableProps) {
return (
<Card padding={0}>
<div
style={{
overflow: 'auto',
maxHeight: typeof maxHeight === 'number' ? `${maxHeight}px` : maxHeight
}}
<Box
overflow="auto"
maxHeight={typeof maxHeight === 'number' ? `${maxHeight}px` : maxHeight}
>
{children}
</div>
</Box>
</Card>
);
}