Skip to content

Commit

Permalink
🐛 代码块输出样式在列表中错位
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Dec 21, 2024
1 parent 9758b73 commit 05a007d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions style/attr.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,16 @@ rotyle-wysiwyg [data-node-id][custom-f="20"] div[contenteditable="true"]:after
.protyle-wysiwyg .code-block[custom-code="output"] .protyle-action .protyle-action__language{
opacity: 0 !important;
}
.protyle-wysiwyg .code-block[custom-code="output"]{

.protyle-wysiwyg .code-block[custom-code="output"] {
width: 98%;
background-color: transparent;
margin: 0 auto 1em auto !important;
/* margin: 0 auto 1em auto !important; */
margin-top: 0 !important;
padding: 0;
margin-bottom: 1em !important;
}

.protyle-wysiwyg .code-block[custom-code="output"] .hljs{
background-color: transparent !important;
padding: 0.6em 1em 0.6em !important;
Expand Down

0 comments on commit 05a007d

Please sign in to comment.