diff --git a/app/src/pages/trace/SpanAnnotationForm.tsx b/app/src/pages/trace/SpanAnnotationForm.tsx index de49329d8b..4a3222b7f8 100644 --- a/app/src/pages/trace/SpanAnnotationForm.tsx +++ b/app/src/pages/trace/SpanAnnotationForm.tsx @@ -11,6 +11,10 @@ export type CreateAnnotationInput = { explanation?: string | null; }; +const detailsCSS = css` + color: var(--ac-global-text-color-900); + font-size: 12px; +`; export type SpanAnnotationFormProps = { /** * The initial data to populate the form with @@ -69,6 +73,7 @@ export function SpanAnnotationForm(props: SpanAnnotationFormProps) { [onSubmit, setError] ); + const defaultDetailsCollapsed = isReadOnly; return (
@@ -130,26 +135,31 @@ export function SpanAnnotationForm(props: SpanAnnotationFormProps) { )} /> - ( -