diff --git a/app/syntax/quot.ts b/app/syntax/quot.ts index ddba722..a3f9ea1 100644 --- a/app/syntax/quot.ts +++ b/app/syntax/quot.ts @@ -41,7 +41,12 @@ export const quotHighlighting = syntaxHighlighting( }, { tag: t.monospace, - class: "code", + background: "var(--nc-bg-3)", + borderRadius: "0.25em", + padding: "0.2em 0.4em", + fontSize: "0.9em", + fontFamily: "var(--nc-font-mono)", + fontWeight: "bold", }, ]) ); diff --git a/app/views/components/editor.css b/app/views/components/editor.css index b3f9cfc..5f511cb 100644 --- a/app/views/components/editor.css +++ b/app/views/components/editor.css @@ -35,12 +35,3 @@ color: var(--nc-lk-2); cursor: pointer; } - -.editor .code { - background: var(--nc-bg-3); - border-radius: 0.25rem; - padding: 0.2rem 0.4rem; - font-size: 0.9rem; - font-family: var(--nc-font-mono); - font-weight: bold; -}