Skip to content

fix(module:transfer): correctly set the transfer-list-body class#8960

Merged
Laffery merged 1 commit into
NG-ZORRO:masterfrom
HyperLife1119:fix/transfer-body-class
Jan 7, 2025
Merged

fix(module:transfer): correctly set the transfer-list-body class#8960
Laffery merged 1 commit into
NG-ZORRO:masterfrom
HyperLife1119:fix/transfer-body-class

Conversation

@HyperLife1119
Copy link
Copy Markdown
Collaborator

@HyperLife1119 HyperLife1119 commented Jan 7, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

QQ_1736240829482

由于 class 未正确设置,导致样式错误。

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@HyperLife1119 HyperLife1119 requested a review from Ricbet as a code owner January 7, 2025 09:06
@zorro-bot
Copy link
Copy Markdown

zorro-bot Bot commented Jan 7, 2025

This preview will be available after the AzureCI is passed.

</div>
<div
class="{{ showSearch ? 'ant-transfer-list-body ant-transfer-list-body-with-search' : 'ant-transfer-list-body' }}"
[class]="{ 'ant-transfer__nodata': stat.shownCount === 0 }"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ant-transfer__nodata 这个 class 不用了吗

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

antd 中并不存在这个 class,也没有相关样式,应该是遗留的旧名称,我想可以直接去除,WDYT?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以的

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.91%. Comparing base (a022e48) to head (6f3d753).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8960   +/-   ##
=======================================
  Coverage   91.91%   91.91%           
=======================================
  Files         555      555           
  Lines       19708    19708           
  Branches     2943     2943           
=======================================
  Hits        18114    18114           
  Misses       1268     1268           
  Partials      326      326           

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

Copy link
Copy Markdown
Collaborator

@Laffery Laffery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Laffery Laffery merged commit a3546a9 into NG-ZORRO:master Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants