maxHeight,
},
containerClassName
)}
- style={{ maxHeight: showAll ? "100%" : `${maxHeight}px` }}
+ style={{
+ height: showAll ? `${containerHeight}px` : `${Math.min(maxHeight, containerHeight)}px`,
+ }}
>
-
{children}
+
+ {children}
+
{containerHeight > maxHeight && (
diff --git a/web/core/components/home/widgets/links/links.tsx b/web/core/components/home/widgets/links/links.tsx
index 85feab84040..1fd5dea9f7b 100644
--- a/web/core/components/home/widgets/links/links.tsx
+++ b/web/core/components/home/widgets/links/links.tsx
@@ -28,20 +28,21 @@ export const ProjectLinkList: FC
= observer((props) => {
if (links === undefined) return ;
if (links.length === 0) return toggleLinkModal(true)} />;
+
return (
- >}
- buttonClassName="bg-custom-background-90/20"
- >
-
-
+
+
>}
+ buttonClassName="bg-custom-background-90/20"
+ >
+
{links &&
links.length > 0 &&
links.map((linkId) =>
)}
-
-
+
+
);
});
diff --git a/web/core/components/home/widgets/recents/index.tsx b/web/core/components/home/widgets/recents/index.tsx
index 4e31928b536..ba3893f6b05 100644
--- a/web/core/components/home/widgets/recents/index.tsx
+++ b/web/core/components/home/widgets/recents/index.tsx
@@ -17,6 +17,7 @@ import { FiltersDropdown } from "./filters";
import { RecentIssue } from "./issue";
import { RecentPage } from "./page";
import { RecentProject } from "./project";
+import { ContentOverflowWrapper } from "@/components/core/content-overflow-HOC";
const WIDGET_KEY = EWidgetKeys.RECENT_ACTIVITY;
const workspaceService = new WorkspaceService();
@@ -79,7 +80,12 @@ export const RecentActivityWidget: React.FC
= observer((props)
);
return (
-
+
>}
+ buttonClassName="bg-custom-background-90/20"
+ >
Recents
@@ -89,8 +95,10 @@ export const RecentActivityWidget: React.FC
= observer((props)
{isLoading && }
{!isLoading &&
recents?.length > 0 &&
- recents.map((activity: TActivityEntityData) => {resolveRecent(activity)}
)}
+ recents
+ .filter((recent: TActivityEntityData) => recent.entity_data)
+ .map((activity: TActivityEntityData) => {resolveRecent(activity)}
)}
-
+
);
});