We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pre
1 parent 5aa99e3 commit 697194bCopy full SHA for 697194b
1 file changed
browser-extension/src/overtype/styles.js
@@ -21,8 +21,8 @@ export function generateStyles(options = {}) {
21
mobile = {},
22
} = options;
23
24
- fontFamily = "inherit !important"
25
- fontSize = "var(--text-body-size-medium) !important"
+ fontFamily = "inherit";
+ fontSize = "var(--text-body-size-medium)";
26
27
// Generate mobile overrides
28
const mobileStyles =
@@ -47,6 +47,11 @@ export function generateStyles(options = {}) {
47
48
return `
49
/* OverType Editor Styles */
50
+ /* GitHub styles */
51
+ .overtype-preview pre.code-block {
52
+ font-family: ${fontFamily} !important;
53
+ font-size: ${fontSize} !important;
54
+ }
55
56
/* Middle-ground CSS Reset - Prevent parent styles from leaking in */
57
.overtype-container * {
0 commit comments