commit
577760ca82
2 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,7 @@ class ChannelPage extends React.PureComponent {
|
||||||
pageClassName="pagination__item"
|
pageClassName="pagination__item"
|
||||||
previousClassName="pagination__item pagination__item--previous"
|
previousClassName="pagination__item pagination__item--previous"
|
||||||
nextClassName="pagination__item pagination__item--next"
|
nextClassName="pagination__item pagination__item--next"
|
||||||
|
breakClassName="pagination__item pagination__item--break"
|
||||||
marginPagesDisplayed={2}
|
marginPagesDisplayed={2}
|
||||||
onPageChange={e => this.changePage(e.selected + 1)}
|
onPageChange={e => this.changePage(e.selected + 1)}
|
||||||
initialPage={parseInt(page - 1)}
|
initialPage={parseInt(page - 1)}
|
||||||
|
|
|
@ -26,6 +26,10 @@
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pagination__item--break {
|
||||||
|
padding: 0 $spacing-vertical * 2 / 3;
|
||||||
|
}
|
||||||
|
|
||||||
.pagination__item--selected {
|
.pagination__item--selected {
|
||||||
color: white;
|
color: white;
|
||||||
background: $color-primary;
|
background: $color-primary;
|
||||||
|
|
Loading…
Reference in a new issue