Skip to content

Commit 431350a

Browse files
Merge pull request #1375 from github/elenatanasoiu/adjust-font-on-results
Use base styling for MRVA results font
2 parents d41c63b + 5f8802f commit 431350a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extensions/ql-vscode/src/remote-queries/view/FileCodeSnippet.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const getSeverityColor = (severity: ResultSeverity) => {
2424
const replaceSpaceAndTabChar = (text: string) => text.replaceAll(' ', '\u00a0').replaceAll('\t', '\u00a0\u00a0\u00a0\u00a0');
2525

2626
const Container = styled.div`
27-
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
28-
font-size: x-small;
27+
font-family: var(--vscode-editor-font-family);
28+
font-size: small;
2929
`;
3030

3131
const TitleContainer = styled.div`
@@ -46,7 +46,7 @@ const CodeContainer = styled.div`
4646
`;
4747

4848
const MessageText = styled.div`
49-
font-size: x-small;
49+
font-size: small;
5050
padding-left: 0.5em;
5151
`;
5252

0 commit comments

Comments
 (0)