소스 검색

change pagenation position to center

kaori 5 년 전
부모
커밋
cd3b63c31e
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/client/js/components/MyBookmarkList/MyBookmarkList.jsx
  2. 1 0
      src/client/js/components/RecentCreated/RecentCreated.jsx

+ 1 - 0
src/client/js/components/MyBookmarkList/MyBookmarkList.jsx

@@ -89,6 +89,7 @@ class MyBookmarkList extends React.Component {
           {this.generatePageList(this.state.pages)}
         </ul>
         <PaginationWrapper
+          align="center"
           activePage={this.state.activePage}
           changePage={this.handlePage}
           totalItemsCount={this.state.totalPages}

+ 1 - 0
src/client/js/components/RecentCreated/RecentCreated.jsx

@@ -73,6 +73,7 @@ class RecentCreated extends React.Component {
           {pageList}
         </ul>
         <PaginationWrapper
+          align="center"
           activePage={this.state.activePage}
           changePage={this.handlePage}
           totalItemsCount={this.state.totalPages}