From 3c24d3af06ad792096eb26627e58b203c45ee233 Mon Sep 17 00:00:00 2001
From: Ousama Ben Younes
Date: Sun, 12 Apr 2026 22:29:53 +0000
Subject: [PATCH] fix: add line-clamp and read more toggle to team profile bio
(#27742)
Long team bio text broke the layout by expanding without restriction.
This applies the same line-clamp-3 + show more/less toggle pattern
already used in the user profile (ProfileBio component).
Also adds the missing "show_less" translation key to en/common.json.
Generated by Claude Code
Vibe coded by ousamabenyounes
Co-Authored-By: Claude
---
apps/web/modules/team/team-view.tsx | 26 +++++++++++++++++++++++---
packages/i18n/locales/en/common.json | 1 +
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/apps/web/modules/team/team-view.tsx b/apps/web/modules/team/team-view.tsx
index cfabf09c59ad4f..94c7d728de8fad 100644
--- a/apps/web/modules/team/team-view.tsx
+++ b/apps/web/modules/team/team-view.tsx
@@ -8,6 +8,7 @@
// 2. org/[orgSlug]/[user]/[type]
import classNames from "classnames";
import Link from "next/link";
+import { useCallback, useState } from "react";
import { sdkActionManager, useIsEmbed } from "@calcom/embed-core/embed-iframe";
import EventTypeDescription from "@calcom/web/modules/event-types/components/EventTypeDescription";
@@ -36,6 +37,13 @@ function TeamPage({ team, considerUnpublished, isValidOrgDomain }: PageProps) {
const isEmbed = useIsEmbed();
const teamName = team.name || t("nameless_team");
const isBioEmpty = !team.bio || !team.bio.replace("