修复iOS上代码字体大小错乱的问题
This commit is contained in:
parent
ae0c998b71
commit
700929c650
|
@ -1,8 +1,6 @@
|
||||||
article.md .highlight
|
article.md .highlight
|
||||||
margin: 1rem 0
|
margin: 1rem 0
|
||||||
border-radius: $border-block
|
border-radius: $border-block
|
||||||
-webkit-font-smoothing: auto
|
|
||||||
-moz-osx-font-smoothing: auto
|
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
border: 1px solid var(--block-border)
|
border: 1px solid var(--block-border)
|
||||||
|
|
|
@ -70,6 +70,8 @@ article.md p
|
||||||
article.md code
|
article.md code
|
||||||
-webkit-font-smoothing: auto
|
-webkit-font-smoothing: auto
|
||||||
-moz-osx-font-smoothing: auto
|
-moz-osx-font-smoothing: auto
|
||||||
|
-webkit-text-size-adjust: 100%
|
||||||
|
-ms-text-size-adjust: 100%
|
||||||
color: var(--text-code)
|
color: var(--text-code)
|
||||||
font-family: $ff-code
|
font-family: $ff-code
|
||||||
word-break: break-all
|
word-break: break-all
|
||||||
|
@ -77,7 +79,11 @@ article.md code
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
padding: .2em .4em
|
padding: .2em .4em
|
||||||
border-radius: 2px
|
border-radius: 2px
|
||||||
// border: 1px solid var(--block-border)
|
article.md pre
|
||||||
|
-webkit-font-smoothing: auto
|
||||||
|
-moz-osx-font-smoothing: auto
|
||||||
|
-webkit-text-size-adjust: 100%
|
||||||
|
-ms-text-size-adjust: 100%
|
||||||
|
|
||||||
// div
|
// div
|
||||||
article.md>div
|
article.md>div
|
||||||
|
|
Loading…
Reference in New Issue