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(module:transfer): correctly set the transfer-list-body class #8960

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

HyperLife1119
Copy link
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
Copy link

zorro-bot bot commented Jan 7, 2025

This preview will be available after the AzureCI is passed.

@@ -63,10 +63,7 @@ import { NzTransferSearchComponent } from './transfer-search.component';
<span class="ant-transfer-list-header-title">{{ titleText }}</span>
}
</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
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
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
Collaborator

Choose a reason for hiding this comment

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

可以的

Copy link

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
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
9 of 10 checks passed
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