-
Notifications
You must be signed in to change notification settings - Fork 51
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 not fitting on smaller screens #1062
Comments
@FinnPaes Have you tried 'breaking out' the pagination using The You could make your own custom component by copying that code, then make the desired adjustments to create a simplified version for narrow screens and wrap the two in the appropriately css'd divs, e.g.:
|
@jeffchown Thank you for your answer! If it doesn't get fixed within Flux itself, I will overwrite it, but for now, I will wait to see how this issue gets resolved. |
You're welcome, @FinnPaes ! To clarify, I'm not suggesting overwriting the I hear you re: 'permanent fix', but sometimes I prefer to create a solution(s) that best suit my specific apps' needs/visuals using the core Flux components as building blocks . |
Flux version
v1.1.4
Livewire version
v3.5.19
Tailwind version
v3.4.13
What is the problem?
The pagination does not fit on mobile/small screens if you have more than 10 pages.
This preview is of an iPhone XR.
Code snippets
Simply placing a table using Flux and having more than 10 pages will result in a lack of space.
How do you expect it to work?
It would be great if it somehow knew that it wouldn't fit and hid some of the page options.
Alternatively, you could send a prop to the pagination component that specifies the maximum number of page buttons to display.
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: