Delrifai/#441 fix pagination styles
Hello Mohammad,
I have updated the styles of pagination according to the following:
- page numbers between 10 and 100
- page numbers between 100 and 1000
- page numbers greater than 100
- page numbers less than 10
for each of the above the padding and styles differ so we can stay in line on mobile and the pagination does not span out
Also, the following updates were made :
- Go to page number added in the same container of pagination
- Go to the results page added in the same container of pagination
Notes :
-
In Voters History : -- The pagination will never appear on this dialogue because of the conditions applied on pagination line 185
-
In block page pages\block[blockId].tsx :
Pagination is working as expected but will not appear unless the block has more than 2000 operations per the config file blockPagePaginationSize
Tested :
- Account >> Account Top Bar
- Home page >> search account
- Home page >> Permalink Search
- Home page >> search comments use /@peak.snaps/snap-container-1737944640
- Voters Dialogue
- Voters History
- Block page
- Comments search result page >> from home page >> search comment >> go to results page