Skip to content

Commit

Permalink
feat: add default monospace selector in webview
Browse files Browse the repository at this point in the history
  • Loading branch information
subframe7536 committed Nov 1, 2024
1 parent 559f816 commit 399202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manager/webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BaseFileManager } from './base'

const entry = `'<!DOCTYPE html>\\n' + newDocument.documentElement.outerHTML`

const defaultMonospaceSelector: string[] = ['.font-mono', 'code', 'pre', '.mono', '.monospace']
const defaultMonospaceSelector: string[] = ['.font-mono', 'code', 'pre', '.mono', '.monospace', 'kbd']
const defaultSansSerifSelector: string[] = ['.font-sans', '.github-markdown-body']

function getCSS() {
Expand Down

0 comments on commit 399202d

Please sign in to comment.