-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47cbf8b
commit b940a2c
Showing
4 changed files
with
36 additions
and
19 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@charset "UTF-8"; | ||
|
||
// 避免主题或 WordPress 默认样式导致多行代码自动换行 | ||
// 只用于 Fallback,如果主题有自带样式,则尊重主题样式 | ||
pre code, | ||
pre code.wp-block-code, | ||
pre code.wp-editormd-codeblock { | ||
// Copied from prism.css as a fallback style | ||
// Issue ref: https://github.com/LuRenJiasWorld/WP-Editor.md/issues/560 | ||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | ||
font-size: 1em; | ||
text-align: left; | ||
white-space: pre; | ||
word-spacing: normal; | ||
word-break: normal; | ||
word-wrap: normal; | ||
line-height: 1.5; | ||
tab-size: 4; | ||
hyphens: none; | ||
} | ||
: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters