fixed markdown font style

This commit is contained in:
Jeffrey Hsu 2024-12-18 08:43:30 +08:00
parent d0039feaf9
commit ef061006a0
2 changed files with 3 additions and 5 deletions

View File

@ -11,11 +11,9 @@ defineProps<{
<style lang="scss"> <style lang="scss">
.markdown-body { .markdown-body {
.MathJax { font-family: "LXGW WenKai", sans-serif;
* {
font-family: "LXGW WenKai", sans-serif !important;
}
.MathJax {
display: inline-block; display: inline-block;
svg { svg {

View File

@ -21,7 +21,7 @@ export default defineNuxtConfig({
components: true, components: true,
css: [ css: [
'@fortawesome/fontawesome-svg-core/styles.css', '@fortawesome/fontawesome-svg-core/styles.css',
'github-markdown-css/github-markdown.css', 'github-markdown-css/github-markdown-light.css',
'~/assets/css/main.scss' '~/assets/css/main.scss'
], ],
postcss: { postcss: {