website refactor
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import React from 'react';
|
||||
import { Card } from '@/ui/Card';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Box } from '@/ui/Box';
|
||||
|
||||
interface AdminToolbarProps {
|
||||
children: React.ReactNode;
|
||||
@@ -24,9 +23,9 @@ export function AdminToolbar({
|
||||
<Card p={3} bg="bg-charcoal/50" borderColor="border-charcoal-outline">
|
||||
<Stack direction="row" align="center" justify="between" gap={4} wrap>
|
||||
{leftContent && (
|
||||
<Box flexGrow={1}>
|
||||
<Stack flexGrow={1}>
|
||||
{leftContent}
|
||||
</Box>
|
||||
</Stack>
|
||||
)}
|
||||
<Stack direction="row" align="center" gap={3} flexGrow={leftContent ? 0 : 1} wrap>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user