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

fix(comp:tooltip): tooltip content should wrap on line break #1876

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

tooltip 组件内容的white-space不允许换行

What is the new behavior?

  1. 提供 whiteSpace 主题变量,可以配置内容是否可以换行
  2. 默认的 whiteSpace 为 pre-wrap

Other information

如果这个修改对业务有影响,自定义主题变量可以解决

Copy link

idux-bot bot commented Apr 8, 2024

This preview will be available after the AzureCI is passed.

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.79%. Comparing base (49eb4ea) to head (9428ac4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1876   +/-   ##
=======================================
  Coverage   90.79%   90.79%           
=======================================
  Files         359      359           
  Lines       35225    35225           
  Branches     2805     2805           
=======================================
  Hits        31981    31981           
  Misses       3244     3244           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sallerli1 sallerli1 merged commit ab4a449 into IDuxFE:main Apr 8, 2024
9 checks passed
@sallerli1 sallerli1 deleted the fix-tooltip-white-space branch July 4, 2024 09:23
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

Successfully merging this pull request may close these issues.

None yet

1 participant