mermaid 样式

This commit is contained in:
tangly1024
2022-12-07 15:58:27 +08:00
parent 5e2ab9d1cb
commit 08ef27be6c

View File

@@ -4,6 +4,7 @@
.code-toolbar {
position: relative;
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4);
padding-bottom: 0 !important;
@apply mb-8 mt-4 pt-6 w-full rounded-lg bg-black
}
@@ -66,4 +67,8 @@ pre[class*="language-mermaid"] {
/* mermaid 原文隐藏 */
code.language-mermaid {
display:none
}
pre.notion-code.line-numbers{
margin-bottom: 0 !important
}