-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Pagination links with page number should take whole space of the li rectangle #15704
Comments
It seems that even border needs to be applied to |
Hmm, sorry, I understand what you mean. |
@tylik1 Why not use |
@ztplz because i'm using I understand that |
You can set
|
.ant-pagination-item a {
- margin: 0 6px;
+ padding: 0 6px;
+ display: block;
color: rgba(0,0,0,0.65);
text-decoration: none;
transition: none;
} Could we change styles in this way? |
Next and previous buttons are already styled properly. They also have |
link take all space inside li close #15704
Reproduction link
Steps to reproduce
Open example link and try to click page number, on the rectangle ( not on the number).
See that click is not triggered. Click is only triggered when clicked on the number, because number doesn't take whole space of the li item.
What is expected?
Click on anchor should be triggered when page number rectangle is clicked.
What is actually happening?
Anchor is not clicked
This is already implemented in next, prev buttons. Anchors take whole li space.
This is especially important when used with real links. e.g. Link from react-router-dom
The text was updated successfully, but these errors were encountered: