Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoticeBar横向滚动,当文本中有空格时空格会不显示 #545

Open
huangxiuqi opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@huangxiuqi
Copy link

image
如果正好在21个字符的位置是个空格,因为会按20个字符切分为多个text,导致空格出现在开头,进而不显示这个空格,需要将此样式改为white-space: pre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant