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:pagination): replace full-width character with half-width #4371

Merged
merged 1 commit into from
Nov 4, 2019
Merged

Conversation

zhsj
Copy link
Contributor

@zhsj zhsj commented Nov 1, 2019

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] 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

What is the new behavior?

The character used in pagination is changed from '/' with '/'. The full-width one is only used in some Chinese paragraph.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@codecov
Copy link

codecov bot commented Nov 1, 2019

Codecov Report

Merging #4371 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4371      +/-   ##
==========================================
- Coverage    92.2%   92.19%   -0.01%     
==========================================
  Files         520      520              
  Lines       11039    11039              
  Branches     1997     1997              
==========================================
- Hits        10178    10177       -1     
  Misses        429      429              
- Partials      432      433       +1
Impacted Files Coverage Δ
components/time-picker/time-holder.ts 95.61% <0%> (-0.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12111e5...1e5b5cc. Read the comment docs.

@netlify
Copy link

netlify bot commented Nov 1, 2019

Deploy preview for ng-zorro-master ready!

Built with commit 1e5b5cc

https://deploy-preview-4371--ng-zorro-master.netlify.com

@@ -26,7 +26,7 @@
[value]="nzPageIndex"
(keydown.enter)="handleKeyDown($event,simplePagerInput,false)"
size="3">
<span class="ant-pagination-slash">/</span>
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for your PR, but fullwidth is expected.
https://github.com/react-component/pagination/blob/master/src/Pagination.jsx#L429

@afc163 Any suggestions?

Copy link
Contributor

Choose a reason for hiding this comment

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

We should fix too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@vthinkxie vthinkxie left a comment

Choose a reason for hiding this comment

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

LGTM

@vthinkxie vthinkxie merged commit cc3868e into NG-ZORRO:master Nov 4, 2019
@zhsj zhsj deleted the half-width branch November 4, 2019 07:01
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this pull request Apr 9, 2020
@hsuanxyz hsuanxyz mentioned this pull request Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
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.

4 participants