mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 08:58:02 -05:00
fix: reverted un-intended changes
This commit is contained in:
committed by
Scott Stevenson
parent
ae0d6c885c
commit
aaabcdedb7
@@ -13,23 +13,17 @@ export interface Params {
|
||||
}
|
||||
|
||||
export type MetaBoxProps = {
|
||||
title?: string;
|
||||
sx?: Record<string, unknown>;
|
||||
p?: number;
|
||||
title: string;
|
||||
children: React.ReactNode;
|
||||
sx: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export const GridItem: React.FC<MetaBoxProps> = ({
|
||||
title,
|
||||
sx,
|
||||
p = 6,
|
||||
children,
|
||||
}) => (
|
||||
<Box borderBottomRadius="lg" borderTopRadius="lg" p={p} boxShadow="md">
|
||||
export const GridItem: React.FC<MetaBoxProps> = ({ children, title, sx }) => (
|
||||
<Box borderBottomRadius="lg" borderTopRadius="lg" p={6} boxShadow="md">
|
||||
<ContainerQuery query={containerQueries}>
|
||||
{(params: Params) => (
|
||||
<Box className={classnames('container', params)} sx={sx}>
|
||||
{title && <Heading size="md">{title}</Heading>}
|
||||
<Heading size="md">{title}</Heading>
|
||||
{children}
|
||||
</Box>
|
||||
)}
|
||||
|
||||
@@ -57,7 +57,6 @@ export const gridConfig = {
|
||||
pl: 6,
|
||||
},
|
||||
'& > div': {
|
||||
pointerEvents: editable ? 'none' : 'initial',
|
||||
bg: editable ? 'blackAlpha.500' : 'blackAlpha.300',
|
||||
backdropFilter: 'blur(10px)',
|
||||
borderBottomRadius: 'lg',
|
||||
|
||||
Reference in New Issue
Block a user