Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(ui): expand request log table height with vertical resize (#3820)

Ramel Tecnologia - Rafa Martinsf2f909bd7ff0
diff --git a/src/app/(dashboard)/dashboard/logs/page.tsx b/src/app/(dashboard)/dashboard/logs/page.tsx
index df1790bd3c..4b88afde7e 100644
--- a/src/app/(dashboard)/dashboard/logs/page.tsx
+++ b/src/app/(dashboard)/dashboard/logs/page.tsx
@@ -118,7 +118,7 @@ export default function LogsPage() {
}
return (
- <div className="h-full flex flex-col gap-6 overflow-hidden">
+ <div className="flex flex-col gap-6">
<div className="flex-shrink-0 flex items-center justify-between gap-4 flex-wrap">
<h2 className="text-lg font-semibold text-text-main">{t("requestLogs")}</h2>
@@ -213,7 +213,7 @@ export default function LogsPage() {
</div>
)}
- <div className="flex-1 min-h-0 overflow-hidden">
+ <div className="min-h-0">
<RequestLoggerV2 key={requestLogKey} ref={requestLoggerRef} initialSelectedId={initialId} />
</div>
diff --git a/src/shared/components/RequestLoggerV2.tsx b/src/shared/components/RequestLoggerV2.tsx
index 89728e2322..111c2260a1 100644
--- a/src/shared/components/RequestLoggerV2.tsx
+++ b/src/shared/components/RequestLoggerV2.tsx
@@ -628,7 +628,7 @@ const RequestLoggerV2 = forwardRef<RequestLoggerV2Handle, { initialSelectedId?:
);
return (
- <div className="flex flex-col gap-4 h-full">
+ <div className="flex flex-col gap-4">
{/* Header Bar */}
<div className="flex flex-wrap items-center gap-3">
{/* Recording Toggle */}
@@ -910,8 +910,14 @@ const RequestLoggerV2 = forwardRef<RequestLoggerV2Handle, { initialSelectedId?:
</div>
{/* Table */}
- <Card className="flex-1 min-h-0 overflow-hidden bg-black/5 dark:bg-black/20">
- <div ref={scrollContainerRef} className="p-0 overflow-x-auto overflow-y-auto h-full">
+ <Card
+ padding="none"
+ className="min-h-[460px] resize-y overflow-auto bg-black/5 dark:bg-black/20"
+ >
+ <div
+ ref={scrollContainerRef}
+ className="p-0 overflow-x-auto overflow-y-auto h-full min-h-[460px]"
+ >
{loading && logs.length === 0 ? (
<div className="p-8 text-center text-text-muted">{t("loadingLogs")}</div>
) : logs.length === 0 ? (