ChrAlpha / hexo-theme-cards

Another Simple & Swift theme for Hexo
https://theme-cards.ichr.me
GNU General Public License v3.0
421 stars 47 forks source link

iOS Safari Compatibility Problem #115

Closed Alendia closed 2 years ago

Alendia commented 2 years ago

For a browser whose core is WebKit, text-size-adjust may result in text auto adjust with some strange behaviour.

https://github.com/ChrAlpha/hexo-theme-cards/blob/88ede96fedc3647f723381931173d69533d341df/source/css/style/_base/markdown.styl#L359-L363

This snippet will result in such a situation below. image

ChrAlpha commented 2 years ago

sorry that I'm too busy these months to solve this issue and delay it till now.

Good news is I'm now working with it. Bad news is I have to clarify that theme Cards has no plan to support IE and other old browsers any longer, which means I'll only try to solve the problem on Firefox and Safari.

image

ChrAlpha commented 2 years ago

Well, it's so strange that I can't reappear it on iOS Safari 15.4 or Firefox. So I don't think text-size-adjust matters for this issue. Could you please share more info?

image

Alendia commented 2 years ago

Actually I changed your code locally, so my blog performs normally. I can pull request if you don’t mind.

ChrAlpha commented 2 years ago

Actually I changed your code locally, so my blog performs normally. I can pull request if you don’t mind.

Of course, thanks.

ChrAlpha commented 2 years ago

So I just remove those useless 4 lines and...take a look at dd8b9bc?