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

新版本Stellar Theme 友链文字显示不全,但旧版本显示正常 #346

Closed
MSCMDD opened this issue Jan 8, 2024 · 12 comments
Closed

Comments

@MSCMDD
Copy link

MSCMDD commented Jan 8, 2024

新版本Stellar Theme 友链文字显示不全,但旧版本显示正常
例如:
友情链接名字很长

旧版本友链:

友情链接
名字很长

会自动折叠

新版本友链:

友情链...

@MSCMDD
Copy link
Author

MSCMDD commented Jan 8, 2024

经过调试
控制台中删去white-space: nowrap;后正常
位置在main.css

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 8, 2024

不想让它有多少显示多少,这会让自己的网站观感和交互体验变差。
另外,不至于4个字都显示不全吧,你是不是把字体设置的很大?

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 8, 2024

我看了我的友链,7个字的都能显示完整啊
image

@MSCMDD
Copy link
Author

MSCMDD commented Jan 9, 2024

emmm
可能是设置鸿蒙字体的问题?
image

@MSCMDD
Copy link
Author

MSCMDD commented Jan 9, 2024

这里建议
image

@MSCMDD
Copy link
Author

MSCMDD commented Jan 9, 2024

然后就成这样了
image

@MSCMDD
Copy link
Author

MSCMDD commented Jan 9, 2024

emmm
但是我全新hexo init了一个博客
还是如此
image
或者说是浏览器的问题,可能是如此吧
,上面的是Edge
然后是Firefox
image
之后是
Chrome
image

@MSCMDD
Copy link
Author

MSCMDD commented Jan 9, 2024

这里没有配置任何字体,完全是未经改动的环境
你提供的实例七个字。。。
在这里有问题QAQ
还是省略的
image
Chrome
image
Edge
Firefox是完整的七个字

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 9, 2024

看来windows上情况比较复杂,我再优化一下吧

@xaoxuu xaoxuu added the todo label Jan 9, 2024
Copy link

github-actions bot commented Jan 9, 2024

👋 Hello,
Your suggestion is great, we will add this feature in subsequent versions, thank you very much!

👋 您好,
您的建议很棒,我们将会在后续版本中加入这个功能,非常感谢!

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 9, 2024

更新一下 main 分支看看好了没 5c97066

@MSCMDD
Copy link
Author

MSCMDD commented Jan 11, 2024

可以了
AwA

@MSCMDD MSCMDD closed this as completed Jan 11, 2024
@xaoxuu xaoxuu removed the todo label Jan 11, 2024
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

2 participants