🎨 Improve design for element selector

This commit is contained in:
Manuel Ruwe
2022-12-11 17:18:25 +01:00
parent 0b61309f58
commit 72338b7b36
5 changed files with 31 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
import { Stack, Text, Title } from '@mantine/core';
import { Grid, Text } from '@mantine/core';
import { IconCursorText } from '@tabler/icons';
import { useTranslation } from 'next-i18next';
import { GenericAvailableElementType } from '../Shared/GenericElementType';
@@ -19,13 +19,13 @@ export const AvailableStaticTypes = ({ onClickBack }: AvailableStaticTypesProps)
they don't integrate with any services and their content never changes.
</Text>
<Stack>
<Grid>
<GenericAvailableElementType
name="Static Text"
description="Display a fixed string on your dashboard"
image={<IconCursorText />}
/>
</Stack>
</Grid>
</>
);
};