mirror of
https://codeberg.org/Sevichecc/Seigwai.git
synced 2025-04-30 07:49:30 +08:00
fix: overwrite style of code block
This commit is contained in:
parent
c124311880
commit
228b2812b6
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ Aurora
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.hljs {
|
.hljs {
|
||||||
background: #2E3440;
|
background: #2E3440 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs,
|
.hljs,
|
||||||
|
|
|
@ -69,7 +69,7 @@ const editor = useEditor({
|
||||||
CodeBlockLowlight.configure({
|
CodeBlockLowlight.configure({
|
||||||
lowlight,
|
lowlight,
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
class: 'not-prose hljs',
|
class: 'hljs not-prose',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
@ -77,7 +77,7 @@ const editor = useEditor({
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
editorProps: {
|
editorProps: {
|
||||||
attributes: {
|
attributes: {
|
||||||
class: 'prose prose-slate mx-auto',
|
class: 'prose prose-slate mx-auto heti',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue