mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): scroll when request logs tool call is huge (#24162)
**Disclaimer: I've never encountered this on dogfood, only on my local where Claude likes to do really long tool calls** On the Request Logs page, if a tool call has super long lines, it will break the row layout: https://github.com/user-attachments/assets/fd1a8be0-7912-4611-a1c3-0c7943b1ea52 This adds stories to demonstrate the behavior, and then a lil overflow x auto action for the fix https://github.com/user-attachments/assets/f0fd94da-8254-4330-a718-08599909e8ec
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -395,7 +395,7 @@ export const RequestLogsRow: FC<RequestLogsRowProps> = ({ interception }) => {
|
||||
])}
|
||||
>
|
||||
<dt>{toolUsage.tool}</dt>
|
||||
<dd>
|
||||
<dd className="overflow-x-auto">
|
||||
<div className="flex flex-col gap-2">
|
||||
<div>{toolUsage.input}</div>
|
||||
{toolUsage.invocation_error && (
|
||||
|
||||
Reference in New Issue
Block a user