Skip to content

Commit

Permalink
Use editor font for diff
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Aug 17, 2024
1 parent 05ce44d commit 2bc6a71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webviews/editorWebview/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1053,15 +1053,15 @@ code {
}

.win32 .diff .diffLine {
font-family: Consolas, Inconsolata, 'Courier New', monospace;
font-family: var(--vscode-editor-font-family), Consolas, Inconsolata, 'Courier New', monospace;
}

.darwin .diff .diffLine {
font-family: Monaco, Menlo, Inconsolata, 'Courier New', monospace;
font-family: var(--vscode-editor-font-family), Monaco, Menlo, Inconsolata, 'Courier New', monospace;
}

.linux .diff .diffLine {
font-family: 'Droid Sans Mono', Inconsolata, 'Courier New', monospace, 'Droid Sans Fallback';
font-family: var(--vscode-editor-font-family), 'Droid Sans Mono', Inconsolata, 'Courier New', monospace, 'Droid Sans Fallback';
}

.diff .diffLine.add {
Expand Down Expand Up @@ -1311,4 +1311,4 @@ code {

.blob-code-marker-deletion::before {
content: "- ";
}
}

0 comments on commit 2bc6a71

Please sign in to comment.