Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Prevent request value overflow in logs table #8348

6 changes: 3 additions & 3 deletions ui/litellm-dashboard/src/components/view_logs/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ export const columns: ColumnDef<LogEntry>[] = [
displayText = formatMessage(content);
}

return <span className="truncate max-w-md text-sm">{displayText}</span>;
return <p className="truncate text-sm" style={{maxWidth:"100px"}}>{displayText}</p>;
} catch (e) {
return (
<span className="truncate max-w-md text-sm">
<p className="truncate text-sm" style={{maxWidth:"100px"}}>
{formatMessage(messages)}
</span>
</p>
);
}
},
Expand Down