mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 22:05:55 +00:00
use bootstrap border utility
This commit is contained in:
parent
e456a76d19
commit
991066a1f5
@ -14,7 +14,7 @@ const Accounts = ({accounts}) => (
|
||||
</CardHeader>
|
||||
<CardBody>
|
||||
{accounts.map(account => (
|
||||
<div className="explorer-row" key={account.address}>
|
||||
<div className="explorer-row border-top" key={account.address}>
|
||||
<CardTitleIdenticon id={account.address}>Account
|
||||
<Link to={`/embark/explorer/accounts/${account.address}`}>{account.address}</Link>
|
||||
</CardTitleIdenticon>
|
||||
|
@ -15,7 +15,7 @@ const Blocks = ({blocks, showLoadMore, loadMore}) => (
|
||||
</CardHeader>
|
||||
<CardBody>
|
||||
{blocks.map(block => (
|
||||
<div className="explorer-row" key={block.number}>
|
||||
<div className="explorer-row border-top" key={block.number}>
|
||||
<CardTitleIdenticon id={block.hash}>Block
|
||||
<Link to={`/embark/explorer/blocks/${block.number}`}>
|
||||
{block.number}
|
||||
|
@ -1,11 +1,11 @@
|
||||
.explorer-row {
|
||||
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
|
||||
}
|
||||
|
||||
.explorer-row + .explorer-row {
|
||||
margin-top: 5px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #c8ced3;
|
||||
}
|
||||
|
||||
.dark-theme .explorer-row {
|
||||
border-top-color: #23282c;
|
||||
border-top-width: 1px !important;
|
||||
}
|
||||
|
||||
.explorer-row .text-truncate {
|
||||
|
@ -15,7 +15,7 @@ const Transactions = ({transactions, showLoadMore, loadMore}) => (
|
||||
</CardHeader>
|
||||
<CardBody>
|
||||
{transactions.map(transaction => (
|
||||
<div className="explorer-row" key={transaction.hash}>
|
||||
<div className="explorer-row border-top" key={transaction.hash}>
|
||||
<CardTitleIdenticon id={transaction.hash}>Transaction
|
||||
<Link to={`/embark/explorer/transactions/${transaction.hash}`}>
|
||||
{transaction.hash}
|
||||
|
Loading…
x
Reference in New Issue
Block a user