diff --git a/packages/client/styles/code.css b/packages/client/styles/code.css index 3d844d96b4..7bab2213d7 100644 --- a/packages/client/styles/code.css +++ b/packages/client/styles/code.css @@ -123,6 +123,7 @@ html:not(.dark) .shiki span { } /* Inline Code */ +.slidev-note :not(pre) > code, .slidev-layout :not(pre) > code { font-size: 0.9em; background: var(--slidev-code-background); @@ -130,6 +131,11 @@ html:not(.dark) .shiki span { --uno: font-light py-0.5 px-1.5; } +.slidev-note :not(pre) > code:after, +.slidev-note :not(pre) > code:before { + content: ''; +} + .slidev-layout :not(pre) > code:before { margin-right: -0.08em; } diff --git a/packages/client/styles/index.css b/packages/client/styles/index.css index 54b06c148f..ba14566ad6 100644 --- a/packages/client/styles/index.css +++ b/packages/client/styles/index.css @@ -144,3 +144,7 @@ html { transform: scale(calc(1 * var(--slidev-slide-scale))); transform-origin: 30px top; } + +.slidev-note ul { + margin: 0; +}