fix(ui): tighten team-name badge truncation width

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
ryan 2026-07-23 00:18:59 +00:00
parent a652454144
commit 1022425f30
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ describe("CopyableBadge", () => {
renderBadge("app-aigateway-inference-producttech-product-default");
const label = screen.getByText("app-aigateway-inference-producttech-product-default");
expect(label.className).toContain("truncate");
expect(label.className).toContain("max-w-[220px]");
expect(label.className).toContain("max-w-[130px]");
});
it("reveals the full value and copies it from the hover tooltip", async () => {

View file

@ -16,7 +16,7 @@ interface CopyableBadgeProps {
export function CopyableBadge({
value,
color = "red",
maxWidthClassName = "max-w-[220px]",
maxWidthClassName = "max-w-[130px]",
dataTestId,
}: CopyableBadgeProps) {
return (