Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(web): text, key-value and numeric facets share the 12px inset (#18471)

Trang Nguyen80699e6d5569
diff --git a/web/src/components/table/KeyValueFilterBuilder.tsx b/web/src/components/table/KeyValueFilterBuilder.tsx
index 397271c8d8..f3f94d8885 100644
--- a/web/src/components/table/KeyValueFilterBuilder.tsx
+++ b/web/src/components/table/KeyValueFilterBuilder.tsx
@@ -346,7 +346,7 @@ export function KeyValueFilterBuilder(props: KeyValueFilterBuilderProps) {
};
return (
- <div className="flex flex-col gap-4 px-4 py-1">
+ <div className="flex flex-col gap-4 px-3 py-1">
{/* Filter rows */}
{localFilters.map((filter, index) => {
const availableValuesForKey = filter.key
diff --git a/web/src/components/table/data-table-controls.tsx b/web/src/components/table/data-table-controls.tsx
index 39532e55d0..c0c02fa476 100644
--- a/web/src/components/table/data-table-controls.tsx
+++ b/web/src/components/table/data-table-controls.tsx
@@ -2060,7 +2060,7 @@ function NumericFacet({
disabledReason={disabledReason}
onReset={onReset}
>
- <div className="px-4 py-2">
+ <div className="px-3 py-2">
{loading ? (
<div className="text-muted-foreground text-sm">Loading...</div>
) : value === null ? (
@@ -2219,7 +2219,7 @@ function StringFacet({
disabledReason={disabledReason}
onReset={onReset}
>
- <div className="px-4">
+ <div className="px-3">
{loading ? (
<div className="text-muted-foreground text-sm">Loading...</div>
) : (
@@ -2229,7 +2229,7 @@ function StringFacet({
value={localValue}
placeholder="Search"
onChange={handleInputChange}
- className="h-8"
+ className="h-8 font-mono text-xs"
/>
)}
</div>
@@ -2269,7 +2269,7 @@ function KeyValueFacet({
onReset={onReset}
>
{loading ? (
- <div className="text-muted-foreground px-4 py-2 text-sm">
+ <div className="text-muted-foreground px-3 py-2 text-sm">
Loading...
</div>
) : (
@@ -2318,7 +2318,7 @@ function NumericKeyValueFacet({
onReset={onReset}
>
{loading ? (
- <div className="text-muted-foreground px-4 py-2 text-sm">
+ <div className="text-muted-foreground px-3 py-2 text-sm">
Loading...
</div>
) : (
@@ -2366,7 +2366,7 @@ function BooleanKeyValueFacet({
onReset={onReset}
>
{loading ? (
- <div className="text-muted-foreground px-4 py-2 text-sm">
+ <div className="text-muted-foreground px-3 py-2 text-sm">
Loading...
</div>
) : (
@@ -2415,7 +2415,7 @@ function StringKeyValueFacet({
onReset={onReset}
>
{loading ? (
- <div className="text-muted-foreground px-4 py-2 text-sm">
+ <div className="text-muted-foreground px-3 py-2 text-sm">
Loading...
</div>
) : (