File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
extensions/ql-vscode/src/view/model-editor Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ import { styled } from "styled-components" ;
12import { VSCodeButton , VSCodeLink } from "@vscode/webview-ui-toolkit/react" ;
23import type { ModeledMethod } from "../../model-editor/modeled-method" ;
34import type { ModelEditorViewState } from "../../model-editor/shared/view-state" ;
@@ -16,6 +17,11 @@ export type Props = {
1617 evaluationRun : ModelEvaluationRunState | undefined ;
1718} ;
1819
20+ const RunLink = styled ( VSCodeLink ) `
21+ display: flex;
22+ align-items: center;
23+ ` ;
24+
1925export const ModelEvaluation = ( {
2026 viewState,
2127 modeledMethods,
@@ -61,12 +67,12 @@ export const ModelEvaluation = ({
6167 </ VSCodeButton >
6268 ) }
6369 { shouldShowEvaluationRunLink && (
64- < VSCodeLink >
70+ < RunLink >
6571 < LinkIconButton onClick = { openModelAlertsView } >
6672 < span slot = "end" className = "codicon codicon-link-external" > </ span >
6773 Evaluation run
6874 </ LinkIconButton >
69- </ VSCodeLink >
75+ </ RunLink >
7076 ) }
7177 </ >
7278 ) ;
You can’t perform that action at this time.
0 commit comments