From 17b97aa10aa606c08f525876eaf6436b8bad89fe Mon Sep 17 00:00:00 2001 From: Vikas Agarwal Date: Tue, 27 Dec 2016 15:35:50 +0530 Subject: [PATCH] Github issue #372, [Pagination] - keep fixed pagination option displaying 5 pages. -- Fixed issue for the case when incorrect results were being shown when user hits browser back button after navigating the list pages via paginator -- CSS fix as suggested in Github -- Applied light theme for the tooltip --- src/components/Grid/GridView.scss | 1 - src/components/Grid/PaginationBar.jsx | 6 ++++-- .../list/components/Projects/Projects.jsx | 20 ++++++++++++++++--- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/components/Grid/GridView.scss b/src/components/Grid/GridView.scss index ce37a3fcb..219e736ed 100644 --- a/src/components/Grid/GridView.scss +++ b/src/components/Grid/GridView.scss @@ -496,7 +496,6 @@ } &.go-to-page-pill { - // position: inherit; .tooltip-target { min-width: 27px; height: 28px; diff --git a/src/components/Grid/PaginationBar.jsx b/src/components/Grid/PaginationBar.jsx index 633c69415..b25face23 100644 --- a/src/components/Grid/PaginationBar.jsx +++ b/src/components/Grid/PaginationBar.jsx @@ -37,8 +37,8 @@ const GoToPagePill = ({minPage, maxPage, onPageClick}) => { } return (
  • - -
    ...
    + +
    ...
    Go to page:
    @@ -130,6 +130,7 @@ const PaginationBar = enhance(({onPageChange, currentPageNum, totalCount, pageSi pagePills.splice(1, 0,