diff --git a/src/custom/CatalogDesignTable/columnConfig.tsx b/src/custom/CatalogDesignTable/columnConfig.tsx
index b56e37f2..84416a36 100644
--- a/src/custom/CatalogDesignTable/columnConfig.tsx
+++ b/src/custom/CatalogDesignTable/columnConfig.tsx
@@ -3,6 +3,7 @@
import { MUIDataTableColumn, MUIDataTableMeta } from 'mui-datatables';
import { FacebookShareButton, LinkedinShareButton, TwitterShareButton } from 'react-share';
import { Avatar, Box, Grid, Typography } from '../../base';
+import { CLOUD_URL } from '../../constants/constants';
import { iconMedium } from '../../constants/iconsSizes';
import {
ChainIcon,
@@ -165,7 +166,7 @@ export const createDesignColumns = ({
alt={displayName}
src={avatar_url}
onClick={() => {
- window.location.href = `/user/${user_id}`;
+ window.open(`${CLOUD_URL}/user/${user_id}`, '_blank');
}}
>
{!avatar_url && }
diff --git a/src/custom/ResponsiveDataTable.tsx b/src/custom/ResponsiveDataTable.tsx
index aa1c51aa..7f99704f 100644
--- a/src/custom/ResponsiveDataTable.tsx
+++ b/src/custom/ResponsiveDataTable.tsx
@@ -122,11 +122,12 @@ export const DataTableEllipsisMenu: React.FC<{
const dataTableTheme = (theme: Theme, backgroundColor?: string) =>
createTheme({
components: {
- MUIDataTable: {
+ MuiPaper: {
styleOverrides: {
- paper: {
+ root: {
background: backgroundColor || theme.palette.background.default,
- maxWidth: '-moz-available'
+ maxWidth: '-moz-available',
+ width: '-moz-available'
}
}
},
@@ -386,7 +387,7 @@ const ResponsiveDataTable = ({
});
updateCols && updateCols([...columns]);
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [columnVisibility, updateCols]);
+ }, [columnVisibility, updateCols, data]);
React.useEffect(() => {
updateColumnsEffect();
diff --git a/src/custom/TooltipIcon.tsx b/src/custom/TooltipIcon.tsx
index 87477e8b..86cc6325 100644
--- a/src/custom/TooltipIcon.tsx
+++ b/src/custom/TooltipIcon.tsx
@@ -20,21 +20,23 @@ export function TooltipIcon({
}: TooltipIconProps): JSX.Element {
return (
-
+
- {icon}
-
+ ...(style as SxProps)
+ }}
+ disableRipple
+ >
+ {icon}
+
+
);
}