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

使用新版@arco-design/web-vue时,顶部navbar的文字在窄屏情况下会出现文字溢出 #352

Open
1 task done
Vanisper opened this issue Nov 26, 2023 · 0 comments

Comments

@Vanisper
Copy link

Vanisper commented Nov 26, 2023

基本信息

  • 依赖包名 及 版本: arco-design-pro-vue@2.7.2
  • 框架版本: @arco-design/web-vue^2.53.3
  • 浏览器版本: chrome119.0.0.0

预期结果

和原版一样,navbar的logo旁边的文字在窄屏状况下最多换行为两行。

复现步骤

https://github.com/arco-design/arco-design-pro-vue 项目下的 arco-design-pro-vite 文件夹作为项目打开,

将其中 @arco-design/web-vue 更新至 2.53.3,顶部的 navbar 左侧logo旁边的文字部分在窄屏情况下出现溢出现象。

排查对比得知是因为这个pr的更新导致的 arco-design/arco-design-vue#2583

该问题是 overflow-wrap: anywhere; 导致的

Snipaste_2023-11-26_22-49-30

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