mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
conflict in css
This commit is contained in:
parent
6c92e7b24d
commit
a1b18b74f8
@ -1,5 +1,9 @@
|
|||||||
.explorer-row {
|
.explorer-row {
|
||||||
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
|
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.explorer-overview .card-body {
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-row + .explorer-row {
|
.explorer-row + .explorer-row {
|
||||||
|
@ -11,21 +11,21 @@ import TransactionsContainer from '../containers/TransactionsContainer';
|
|||||||
import './Explorer.css';
|
import './Explorer.css';
|
||||||
|
|
||||||
const ExplorerDashboardLayout = () => (
|
const ExplorerDashboardLayout = () => (
|
||||||
<React.Fragment>
|
<div className="explorer-overview">
|
||||||
<Row className="mt-4">
|
<Row className="mt-4">
|
||||||
<Col>
|
<Col>
|
||||||
<AccountsContainer />
|
<AccountsContainer />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Col md={6}>
|
<Col xl={6}>
|
||||||
<BlocksContainer />
|
<BlocksContainer />
|
||||||
</Col>
|
</Col>
|
||||||
<Col md={6}>
|
<Col xl={6}>
|
||||||
<TransactionsContainer />
|
<TransactionsContainer />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</React.Fragment>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default ExplorerDashboardLayout;
|
export default ExplorerDashboardLayout;
|
||||||
|
@ -2,14 +2,14 @@ import React from 'react';
|
|||||||
import {Pagination, PaginationItem, PaginationLink} from 'reactstrap';
|
import {Pagination, PaginationItem, PaginationLink} from 'reactstrap';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
const NB_PAGES_MAX = 14;
|
const NB_PAGES_MAX = 8;
|
||||||
|
|
||||||
const Pages = ({currentPage, numberOfPages, changePage}) => {
|
const Pages = ({currentPage, numberOfPages, changePage}) => {
|
||||||
let i = currentPage - NB_PAGES_MAX / 2;
|
let i = currentPage - NB_PAGES_MAX / 2;
|
||||||
if (i < 1) {
|
if (i < 1) {
|
||||||
i = 1;
|
i = 1;
|
||||||
}
|
}
|
||||||
let max = i + NB_PAGES_MAX;
|
let max = i + NB_PAGES_MAX - 1;
|
||||||
if (max > numberOfPages) {
|
if (max > numberOfPages) {
|
||||||
max = numberOfPages;
|
max = numberOfPages;
|
||||||
}
|
}
|
||||||
@ -19,7 +19,7 @@ const Pages = ({currentPage, numberOfPages, changePage}) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Pagination aria-label="Page navigation example">
|
<Pagination aria-label="Page navigation example" className="mt-4 mb-0 float-right">
|
||||||
<PaginationItem disabled={currentPage <= 1}>
|
<PaginationItem disabled={currentPage <= 1}>
|
||||||
<PaginationLink previous href="#" onClick={(e) => {
|
<PaginationLink previous href="#" onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user