diff --git a/src/components/Dashboard/Modals/SelectElement/Components/IntegrationsTab/AvailableIntegrationsTab.tsx b/src/components/Dashboard/Modals/SelectElement/Components/IntegrationsTab/AvailableIntegrationsTab.tsx
index ef4de8851..bccd72cbc 100644
--- a/src/components/Dashboard/Modals/SelectElement/Components/IntegrationsTab/AvailableIntegrationsTab.tsx
+++ b/src/components/Dashboard/Modals/SelectElement/Components/IntegrationsTab/AvailableIntegrationsTab.tsx
@@ -1,4 +1,4 @@
-import { Stack, Text, Title } from '@mantine/core';
+import { Grid, Text } from '@mantine/core';
import {
IconArrowsUpDown,
IconCalendarTime,
@@ -27,7 +27,7 @@ export const AvailableIntegrationElements = ({
applications. They usually require a few configurations before use.
-
+
}
/>
-
+
>
);
};
diff --git a/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx b/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx
index ee8cb6469..b6d24498f 100644
--- a/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx
+++ b/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx
@@ -1,4 +1,4 @@
-import { Button, Stack, Text } from '@mantine/core';
+import { Box, Button, Card, Center, Grid, Stack, Text, UnstyledButton } from '@mantine/core';
import { IconChevronRight } from '@tabler/icons';
import Image from 'next/image';
import React, { ReactNode } from 'react';
@@ -28,34 +28,27 @@ export const GenericAvailableElementType = ({
};
return (
- }
- rightIcon={}
- styles={{
- root: {
- height: 'auto',
- padding: '8px 12px',
- },
- inner: {
- justifyContent: 'left',
- },
- label: {
- justifyContent: 'space-between',
- width: '100%',
- },
- }}
- disabled={disabled}
- fullWidth
- >
-
- {name}
- {description && (
-
- {description}
-
- )}
-
-
+
+
+
+
+
+
+
+
+ {name}
+
+ {description && (
+
+ {description}
+
+ )}
+
+
+
+
+
);
};
diff --git a/src/components/Dashboard/Modals/SelectElement/Components/Shared/styles.tsx b/src/components/Dashboard/Modals/SelectElement/Components/Shared/styles.tsx
index 76e6bf30b..41a8d263e 100644
--- a/src/components/Dashboard/Modals/SelectElement/Components/Shared/styles.tsx
+++ b/src/components/Dashboard/Modals/SelectElement/Components/Shared/styles.tsx
@@ -11,7 +11,7 @@ export const useStyles = createStyles((theme) => ({
elementButton: {
width: '100%',
height: '100%',
- borderRadius: theme.radius.sm
+ borderRadius: theme.radius.sm,
},
elementStack: {
width: '100%',
diff --git a/src/components/Dashboard/Modals/SelectElement/Components/StaticElementsTab/AvailableStaticElementsTab.tsx b/src/components/Dashboard/Modals/SelectElement/Components/StaticElementsTab/AvailableStaticElementsTab.tsx
index 3089abfb9..6b0ae3297 100644
--- a/src/components/Dashboard/Modals/SelectElement/Components/StaticElementsTab/AvailableStaticElementsTab.tsx
+++ b/src/components/Dashboard/Modals/SelectElement/Components/StaticElementsTab/AvailableStaticElementsTab.tsx
@@ -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.
-
+
}
/>
-
+
>
);
};
diff --git a/src/components/layout/header/Actions/AddElementAction/AddElementAction.tsx b/src/components/layout/header/Actions/AddElementAction/AddElementAction.tsx
index 1c2a46cb3..135e65acb 100644
--- a/src/components/layout/header/Actions/AddElementAction/AddElementAction.tsx
+++ b/src/components/layout/header/Actions/AddElementAction/AddElementAction.tsx
@@ -17,6 +17,7 @@ export const AddElementAction = () => {
openContextModal({
modal: 'selectElement',
title: 'Add an element to your dashboard',
+ size: 'xl',
innerProps: {},
})
}