mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
* Shorten string in page title * Style fixes * Adjust cell width props * Refactor <PageDetail> component - Improve responsiveness * Simplify <ItemDetailsGrid /> * Refactor <DetailsImage>
18 lines
389 B
TypeScript
18 lines
389 B
TypeScript
import { Paper, SimpleGrid } from '@mantine/core';
|
|
import type React from 'react';
|
|
|
|
export function ItemDetailsGrid(props: React.PropsWithChildren<{}>) {
|
|
return (
|
|
<Paper p='xs'>
|
|
<SimpleGrid
|
|
cols={{ base: 1, '900px': 2 }}
|
|
type='container'
|
|
spacing='xs'
|
|
verticalSpacing='xs'
|
|
>
|
|
{props.children}
|
|
</SimpleGrid>
|
|
</Paper>
|
|
);
|
|
}
|