Repository navigation
Commit 29a983c
authored
Update pagination dots
Currently, under certain conditions the pagination shows dots when it would make more sense to show a number.
This change updates such an edge case.
# Example:
If you have the following variables:
Mid size: 2
End size: 1
Total pages: 5
Current page: 1
Then it will visually output as follows:
Prev 1 2 3 ... 5 Next1 parent 164b22c commit 29a983c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4299 | 4299 | | |
4300 | 4300 | | |
4301 | 4301 | | |
4302 | | - | |
| 4302 | + | |
4303 | 4303 | | |
4304 | 4304 | | |
4305 | 4305 | | |
| |||
0 commit comments