fix: overwrite style of code block

This commit is contained in:
Seviche CC 2023-03-30 22:17:43 +08:00
parent c124311880
commit 228b2812b6
Signed by: SevicheCC
GPG key ID: C577000000000000
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ Aurora
*/
.hljs {
background: #2E3440;
background: #2E3440 !important;
}
.hljs,

View file

@ -69,7 +69,7 @@ const editor = useEditor({
CodeBlockLowlight.configure({
lowlight,
HTMLAttributes: {
class: 'not-prose hljs',
class: 'hljs not-prose',
},
}),
],
@ -77,7 +77,7 @@ const editor = useEditor({
autofocus: true,
editorProps: {
attributes: {
class: 'prose prose-slate mx-auto',
class: 'prose prose-slate mx-auto heti',
},
},
})