Skip to content

Delrifai/#441 fix pagination styles

Dima Rifai requested to merge delrifai/#441_fix_pagination_styles into develop

Hello Mohammad,

I have updated the styles of pagination according to the following:

  1. page numbers between 10 and 100
  2. page numbers between 100 and 1000
  3. page numbers greater than 100
  4. 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 :

  1. Go to page number added in the same container of pagination
  2. Go to the results page added in the same container of pagination

Notes :

  1. In Voters History : -- The pagination will never appear on this dialogue because of the conditions applied on pagination line 185

  2. 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 :

  1. Account >> Account Top Bar
  2. Home page >> search account
  3. Home page >> Permalink Search
  4. Home page >> search comments use /@peak.snaps/snap-container-1737944640
  5. Voters Dialogue
  6. Voters History
  7. Block page
  8. Comments search result page >> from home page >> search comment >> go to results page

Merge request reports

Loading