There is a line break for multiple Chinese symbols on the HTML tag.

problems in developing web pages on mobile

clipboard.png


F12

clipboard.png
is like this. After I delete a few punctuation marks, the page will return to normal

.
Mar.03,2021
This can be solved by

plus word-break: keep-all; .
keep-all does not allow word wrapping in CJK (Chinese/Japanese/Korean) text, only at half-width spaces or hyphens.

Menu