Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(web): remove mobile profile sheet border (#614)
Generae71c2aaa4f7
diff --git a/src/web/src/components/community/social/profile-card-surface.test.ts b/src/web/src/components/community/social/profile-card-surface.test.tsindex cbe4c4f96..93ef1d89d 100644--- a/src/web/src/components/community/social/profile-card-surface.test.ts+++ b/src/web/src/components/community/social/profile-card-surface.test.ts@@ -84,8 +84,13 @@ describe("ProfileCard surface contracts", () => {expect(content.props.side).toBe("bottom")expect(content.props.showOverlay).toBe(true)expect(content.props.showCloseButton).toBe(false)+ expect(content.props.className).toContain("data-[side=bottom]:border-t-0")+ expect(content.props.className).not.toContain("border-0")expect(content.props.className).toContain("bg-transparent")expect(content.props.className).not.toContain("bg-foreground")+ expect(profile.props.className).toContain("rounded-xl")+ expect(profile.props.className).toContain("border")+ expect(profile.props.className).toContain("border-border")expect(profile.props.className).toContain("bg-popover")expect(renderer.root.findAllByType("popover-root")).toHaveLength(0)@@ -93,6 +98,7 @@ describe("ProfileCard surface contracts", () => {const sheetSource = readFileSync(new URL("../../ui/sheet.tsx", import.meta.url), "utf8")expect(profileSource).not.toContain("bg-foreground/30")expect(profileSource).not.toContain("<SheetOverlay")+ expect(sheetSource).toContain("data-[side=bottom]:border-t")expect(sheetSource).toContain("bg-black/20")expect(sheetSource).not.toContain("bg-foreground")})@@ -120,6 +126,7 @@ describe("ProfileCard surface contracts", () => {expect(trigger.props.style).toEqual({ left: 24, top: 48 })expect(content.props.side).toBe("right")expect(content.props.className).toContain("w-75")+ expect(content.props.className).not.toContain("data-[side=bottom]:border-t-0")expect(renderer.root.findAllByType("sheet-root")).toHaveLength(0)expect(renderer.root.findByProps({ "data-testid": "community-profile-card" })).toBeTruthy()})diff --git a/src/web/src/components/community/social/profile-card.tsx b/src/web/src/components/community/social/profile-card.tsxindex fef154bc8..452c25b7d 100644--- a/src/web/src/components/community/social/profile-card.tsx+++ b/src/web/src/components/community/social/profile-card.tsx@@ -427,7 +427,7 @@ export function ProfileCard({ data, x, y, bp, onClose, onMessage, isSelf, onUpdaside="bottom"showOverlayshowCloseButton={false}- className="border-0 bg-transparent p-3 shadow-none"+ className="data-[side=bottom]:border-t-0 bg-transparent p-3 shadow-none"><SheetTitle className="sr-only">{data.name} profile</SheetTitle><SheetClose className="sr-only">Close profile</SheetClose>