fix: mermaid rendering fix from upstream
This commit is contained in:
parent
4c83251f8e
commit
9b9d86474b
5 changed files with 22 additions and 26 deletions
|
@ -328,12 +328,13 @@ figure[data-rehype-pretty-code-figure] {
|
|||
|
||||
pre {
|
||||
font-family: var(--codeFont);
|
||||
padding: 0.5rem;
|
||||
padding: 0 0.5rem;
|
||||
border-radius: 5px;
|
||||
overflow-x: auto;
|
||||
border: 1px solid var(--lightgray);
|
||||
position: relative;
|
||||
|
||||
&.mermaid {
|
||||
&:has(> code.mermaid) {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue