mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
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:
parent
a652454144
commit
1022425f30
2 changed files with 2 additions and 2 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ interface CopyableBadgeProps {
|
|||
export function CopyableBadge({
|
||||
value,
|
||||
color = "red",
|
||||
maxWidthClassName = "max-w-[220px]",
|
||||
maxWidthClassName = "max-w-[130px]",
|
||||
dataTestId,
|
||||
}: CopyableBadgeProps) {
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue