Skip to content

Commit 34824d2

Browse files
fix(site): enlarge tally dialog and fix prompt bubble text alignment
1 parent a4733c0 commit 34824d2

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

apps/site/src/app/mcp/_components/mcp-agents-section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ export function McpAgentsSection({ agents }: { docsHref: string; agents: readonl
5252
Want to see your tool listed?
5353
</button>
5454
</DialogTrigger>
55-
<DialogContent className="max-w-lg">
55+
<DialogContent className="max-w-4xl">
5656
<DialogHeader>
5757
<DialogTitle>Want to see your favorite AI tool listed on prisma.io/mcp?</DialogTitle>
5858
</DialogHeader>
5959
<iframe
6060
data-tally-src="https://tally.so/r/wA1R1N"
6161
title="Tool listing request"
6262
width="100%"
63-
height="400"
63+
height="600"
6464
className="border-0"
6565
/>
6666
<Script

apps/site/src/app/mcp/_components/mcp-bubble.tsx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
import { useId, useState, type ReactNode } from "react";
44

5-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@prisma/eclipse";
5+
import {
6+
Tooltip,
7+
TooltipContent,
8+
TooltipProvider,
9+
TooltipTrigger,
10+
} from "@prisma/eclipse";
611

712
const bubbleShadow = "shadow-box-low dark:shadow-box-high";
813

@@ -12,7 +17,11 @@ export type McpBubbleVariant =
1217
| "hero-mobile-title"
1318
| "hero-mobile-description";
1419

15-
export type McpPromptBubbleVariant = "mobile" | "mobile-tall" | "wide" | "compact";
20+
export type McpPromptBubbleVariant =
21+
| "mobile"
22+
| "mobile-tall"
23+
| "wide"
24+
| "compact";
1625

1726
type BubbleConfig = {
1827
shell: string;
@@ -46,11 +55,13 @@ const promptConfig: Record<McpPromptBubbleVariant, string> = {
4655
};
4756

4857
const promptTextClass =
49-
"inline-block w-full break-words text-pretty font-mono text-[14px] font-normal leading-5 text-background-ppg-reverse-strong dark:text-foreground-ppg-reverse-weak";
58+
"inline-block w-full break-words text-pretty text-left font-mono text-[14px] font-normal leading-5 text-background-ppg-reverse-strong dark:text-foreground-ppg-reverse-weak";
5059

5160
function BubbleTail({ side }: { side: "left" | "right" }) {
5261
const positionClass =
53-
side === "left" ? "bottom-[-2px] left-[-10.5px]" : "bottom-[-2px] right-[-10.5px] scale-x-[-1]";
62+
side === "left"
63+
? "bottom-[-2px] left-[-10.5px]"
64+
: "bottom-[-2px] right-[-10.5px] scale-x-[-1]";
5465
const clipPathId = useId();
5566

5667
return (

0 commit comments

Comments
 (0)