website refactor

This commit is contained in:
2026-01-18 22:55:55 +01:00
parent b43a23a48c
commit aeaa43f4d3
179 changed files with 4736 additions and 6832 deletions

View File

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