File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
browser-extension/src/overtype Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ export function generateStyles(options = {}) {
2121 mobile = { } ,
2222 } = options ;
2323
24- fontFamily = "inherit !important"
25- fontSize = "var(--text-body-size-medium) !important"
24+ fontFamily = "inherit" ;
25+ fontSize = "var(--text-body-size-medium)" ;
2626
2727 // Generate mobile overrides
2828 const mobileStyles =
@@ -47,6 +47,11 @@ export function generateStyles(options = {}) {
4747
4848 return `
4949 /* OverType Editor Styles */
50+ /* GitHub styles */
51+ .overtype-preview pre.code-block {
52+ font-family: ${ fontFamily } !important;
53+ font-size: ${ fontSize } !important;
54+ }
5055
5156 /* Middle-ground CSS Reset - Prevent parent styles from leaking in */
5257 .overtype-container * {
You can’t perform that action at this time.
0 commit comments