-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
Deploy preview for ng-zorro-master ready! Built with commit 1e5b5cc |
@@ -26,7 +26,7 @@ | |||
[value]="nzPageIndex" | |||
(keydown.enter)="handleKeyDown($event,simplePagerInput,false)" | |||
size="3"> | |||
<span class="ant-pagination-slash">/</span> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fix too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
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?
Other information