🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(web): Remove reserved scrollbar gutters (#19466)
Ben Bachem1a8d023c1021
diff --git a/web/src/components/design-system/table/Table.tsx b/web/src/components/design-system/table/Table.tsxindex 8fad7984b0..62b2f8f153 100644--- a/web/src/components/design-system/table/Table.tsx+++ b/web/src/components/design-system/table/Table.tsx@@ -158,7 +158,7 @@ export function Table<TData extends object>({<div className="flex w-full max-w-full flex-1 flex-col overflow-auto"><divclassName={cn(- "relative min-h-full w-full overflow-auto [scrollbar-gutter:stable]",+ "relative min-h-full w-full overflow-auto",topBorder && "border-t",)}>diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsxindex a5210ebf3a..1f4d225bf1 100644--- a/web/src/components/table/data-table.tsx+++ b/web/src/components/table/data-table.tsx@@ -524,7 +524,7 @@ export function DataTable<TData extends object, TValue>({// some cursor room. Partial mitigation for LFE-10460: a maximized browser// still clamps the cursor at the screen edge.className={cn(- "relative min-h-full w-full overflow-auto border-t [scrollbar-gutter:stable]",+ "relative min-h-full w-full overflow-auto border-t",table.getVisibleLeafColumns().at(-1)?.getCanResize() && "pr-2",// Room for the last row's resize strip, which hangs 3px below the table.onCustomRowHeightChange != null && "pb-[3px]",diff --git a/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx b/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsxindex 87ba57ef70..4bc9c9d805 100644--- a/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx+++ b/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx@@ -91,7 +91,7 @@ export function EvaluatorSavedDialog({</DialogHeader><DialogBody className="gap-0 p-0"><div className="grid h-[30rem] grid-cols-[minmax(0,1fr)_15rem] overflow-hidden">- <div className="min-w-0 overflow-y-auto px-6 py-5 [scrollbar-gutter:stable]">+ <div className="min-w-0 overflow-y-auto px-6 py-5"><h3 className="mb-2 text-sm font-bold">Set up rule to run on incoming observations</h3>@@ -166,7 +166,7 @@ export function EvaluatorSavedDialog({</div><asideclassName={cn(- "overflow-y-auto px-5 py-5 [scrollbar-gutter:stable]",+ "overflow-y-auto px-5 py-5",costSummary && "border-l",)}>