| @@ -23,27 +23,14 @@ | ||
| 23 | 23 | /* Add more styles here specific to the editor only */ |
| 24 | 24 | .code-block-pro-editor .npm__react-simple-code-editor__textarea { |
| 25 | 25 | @apply shadow-none; |
| 26 | 26 | } |
| 27 | -.code-block-pro-editor pre, | |
| 28 | -.code-block-pro-editor pre * { | |
| 29 | - font-family: inherit !important; | |
| 30 | - font-size: inherit !important; | |
| 31 | - line-height: inherit !important; | |
| 32 | -} | |
| 33 | 27 | .code-block-pro-editor textarea, |
| 34 | 28 | .code-block-pro-editor pre { |
| 35 | 29 | @apply m-0 text-left; |
| 36 | 30 | direction: ltr !important; |
| 31 | + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, | |
| 32 | + monospace !important; | |
| 37 | 33 | } |
| 38 | 34 | .code-block-pro-editor code { |
| 39 | - font-family: inherit !important; | |
| 40 | 35 | @apply m-0 p-0 text-inherit bg-transparent; |
| 41 | -} | |
| 42 | -@font-face { | |
| 43 | - font-family: 'Code-Pro-Fira-Code'; | |
| 44 | - src: url('../fonts/Code-Pro-Fira-Code.woff2') format('woff2'); | |
| 45 | -} | |
| 46 | -@font-face { | |
| 47 | - font-family: 'Code-Pro-JetBrains-Mono'; | |
| 48 | - src: url('../fonts/Code-Pro-JetBrains-Mono.woff2') format('woff2'); | |
| 49 | 36 | } |