mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 23:16:49 +00:00
mermaid 样式
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
.code-toolbar {
|
.code-toolbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4);
|
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
|
@apply mb-8 mt-4 pt-6 w-full rounded-lg bg-black
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -66,4 +67,8 @@ pre[class*="language-mermaid"] {
|
|||||||
/* mermaid 原文隐藏 */
|
/* mermaid 原文隐藏 */
|
||||||
code.language-mermaid {
|
code.language-mermaid {
|
||||||
display:none
|
display:none
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.notion-code.line-numbers{
|
||||||
|
margin-bottom: 0 !important
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user