Skip to content

Commit

Permalink
🔖 v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed May 10, 2024
1 parent b174f60 commit fda55ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions style/module/code_block.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,10 @@
margin-bottom: 10px;
}

.protyle-wysiwyg [data-node-id].li>[data-node-id].code-block:before {
height: calc(100% + 7px);
}


/* 代码块限制最大行号 */

/* ---------------------------代码块限制最大高度------------------------------*/
/* 限制代码块高度,设置超过高度,出现滚动条 */
.protyle-wysiwyg .code-block {
max-height: 800px;
Expand Down Expand Up @@ -242,4 +240,5 @@
/* 导出pdf取消限制最大高度 */
#preview .protyle-wysiwyg .code-block {
max-height: none;
}
}
/* ---------------------------代码块限制最大高度------------------------------*/

0 comments on commit fda55ab

Please sign in to comment.