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 are not displayed correctly in the current main branch #36015
Comments
Appreciate your bug reports on this stuff! <3 |
😉 |
I just upgrade to v5.2 and am seeing what I believe to be the same bug that this issue is filed against: Let me know if you’d prefer I open a new issue. As a gut check, I looked at the compiled CSS on the Bootstrap v5.2 doc website, which has… .page-item:not(:first-child) .page-link {
margin-left: -1px;
}
.page-item:first-child .page-link {
border-top-left-radius: var(--bs-pagination-border-radius);
border-bottom-left-radius: var(--bs-pagination-border-radius);
}
.page-item:last-child .page-link {
border-top-right-radius: var(--bs-pagination-border-radius);
border-bottom-right-radius: var(--bs-pagination-border-radius);
} …whereas my compiled CSS is: .page-item:not(:first-child) .page-link {
margin-left: -1px;
}
.page-item .page-link {
border-radius: var(--bs-pagination-border-radius);
} That makes me suspicious of this line, which was recently changed: bootstrap/scss/_pagination.scss Line 78 in edf9c40
This appears to be evaluating to If that test case is valid, it seems as though the compiled version of Bootstrap 5.2 differs from (at least some…) consumer-compiled versions. It makes me wonder if this is a variation between Sass compilers or versions. I’m in a Rails app, using the Any help greatly appreciated! Let me know if I can provide anything else. Thanks! |
Hey @tysongach. Could you please create an issue with your comment as a description? |
@julien-deramond Sure thing! Here we go: #36820 Thank you. |
Prerequisites
Describe the issue
current release looks good https://getbootstrap.com/docs/5.1/components/pagination/#overview
current brunch looks bad https://twbs-bootstrap.netlify.app/docs/5.1/components/pagination/#overview
Reduced test cases
https://getbootstrap.com/docs/5.1/components/pagination/#overview
https://twbs-bootstrap.netlify.app/docs/5.1/components/pagination/#overview
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What version of Bootstrap are you using?
v5.1.3 and current main Brunch
The text was updated successfully, but these errors were encountered: