Skip to content

Commit 641cac4

Browse files
authored
fix: text autospace (#1036)
1 parent 4e494fe commit 641cac4

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

source/css/_first/base_first.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ stellar-root-first()
5353

5454

5555

56+
// 在中英文和数字之间都自动添加间距
57+
// https://caniuse.com/mdn-css_properties_text-autospace
58+
:root
59+
text-autospace: normal
5660

5761
// 基础 reset
5862
*

source/css/_style/_plugins/mathjax.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.article
33
mjx-container
44
font-family: $fontfamily-code
5-
padding: $gap $gap * 0.5
5+
//padding: $gap $gap * 0.5
66
border-radius: $border-codeblock
77
min-width: 0 !important
88
mjx-container[jax="CHTML"][display="true"], .has-jax

0 commit comments

Comments
 (0)