style improvments to functions, explorer and icon

This commit is contained in:
Jonathan Rainville 2018-10-25 14:16:45 -04:00
parent 22f94563fe
commit 79cb60f164
3 changed files with 8 additions and 8 deletions

View File

@ -95,8 +95,8 @@ class ContractFunction extends Component {
render() {
return (
<Card className="contract-function-container">
<CardHeader>
<CardTitle className="collapsable" onClick={() => this.toggleFunction()}>
<CardHeader className="collapsable" onClick={() => this.toggleFunction()}>
<CardTitle>
{ContractFunction.isPureCall(this.props.method) &&
<button className="btn btn-warning btn-sm float-right" onClick={(e) => this.handleCall(e)}>call</button>
}

View File

@ -1,23 +1,23 @@
.explorer-row {
#root .explorer-row {
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
}
.explorer-overview .card-body {
#root .explorer-overview .card-body {
overflow: hidden;
}
.explorer-row + .explorer-row {
#root .explorer-row + .explorer-row {
margin-top: 5px;
padding-top: 20px;
border-top-width: 1px !important;
}
.explorer-row .text-truncate {
#root .explorer-row .text-truncate {
width: 90%;
display: inline-block;
}
.explorer-row .text-truncate {
#root .explorer-row .text-truncate {
width: 90%;
display: inline-block;
}

View File

@ -40,7 +40,7 @@ const SIDEBAR_NAV_ITEMS = {
{url: "/embark/explorer/accounts", icon: "fa fa-users", name: "Accounts"},
{url: "/embark/explorer/blocks", icon: "fa fa-stop", name: "Blocks"},
{url: "/embark/explorer/contracts", icon: "fa fa-file-code-o", name: "Contracts"},
{url: "/embark/explorer/transactions", icon: "fa fa-tree", name: "Transactions"}
{url: "/embark/explorer/transactions", icon: "fa fa-exchange", name: "Transactions"}
]},
"/embark/utilities/": {items: [
{url: "/embark/utilities/converter", icon: "fa fa-plug", name: "Converter"},