diff --git a/packages/recorder/src/callLog.css b/packages/recorder/src/callLog.css index 4f6da99844..e519217f96 100644 --- a/packages/recorder/src/callLog.css +++ b/packages/recorder/src/callLog.css @@ -73,11 +73,11 @@ } .call-log-url { - color: var(--blue); + color: var(--vscode-charts-blue); } .call-log-selector { - color: var(--orange); + color: var(--vscode-charts-orange); white-space: nowrap; } diff --git a/packages/trace-viewer/src/ui/actionList.css b/packages/trace-viewer/src/ui/actionList.css index d361d52447..ce94057bca 100644 --- a/packages/trace-viewer/src/ui/actionList.css +++ b/packages/trace-viewer/src/ui/actionList.css @@ -62,12 +62,12 @@ display: inline; flex: none; padding-left: 5px; - color: var(--orange); + color: var(--vscode-charts-orange); } .action-url { display: inline; flex: none; padding-left: 5px; - color: var(--blue); + color: var(--vscode-charts-blue); } diff --git a/packages/trace-viewer/src/ui/attachmentsTab.tsx b/packages/trace-viewer/src/ui/attachmentsTab.tsx index eba678cbf1..7601fb0252 100644 --- a/packages/trace-viewer/src/ui/attachmentsTab.tsx +++ b/packages/trace-viewer/src/ui/attachmentsTab.tsx @@ -18,9 +18,19 @@ import * as React from 'react'; import './attachmentsTab.css'; import { ImageDiffView } from '@web/components/imageDiffView'; import type { TestAttachment } from '@web/components/imageDiffView'; -import type { ActionTraceEventInContext } from './modelUtil'; +import type { ActionTraceEventInContext, MultiTraceModel } from './modelUtil'; export const AttachmentsTab: React.FunctionComponent<{ + model: MultiTraceModel | undefined, +}> = ({ model }) => { + if (!model) + return null; + return