Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Commit

Permalink
fix tables, new cyber app
Browse files Browse the repository at this point in the history
  • Loading branch information
vbloher committed Apr 5, 2019
1 parent e17854d commit b8e0a8c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"private": true,
"homepage": "./",
"dependencies": {
"@cybercongress/ui": ">=0.0.17",
"@cybercongress/ui": "0.0.17",
"axios": "0.18.0",
"bech32": "1.1.3",
"bip39": "2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/containers/History/History.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ class History extends Component {
<ScrollContainer>
<MainContainer>
<PageTitle>History</PageTitle>
<Table>
<table>
<thead>
<tr>
<th>Address</th>
<th>Date</th>
</tr>
</thead>
<tbody>{historyWithoutLast.map(this.renderItem)}</tbody>
</Table>
</table>
</MainContainer>
</ScrollContainer>
);
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Home/History.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class History extends Component {
return (
<ScrollContainer>
<Title>/History</Title>
<Table>
<table>
<thead>
<tr>
<th>Address</th>
Expand All @@ -50,7 +50,7 @@ class History extends Component {
<tbody>
{historyWithoutLast.map(this.renderItem)}
</tbody>
</Table>
</table>
</ScrollContainer>
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/containers/RootRegistry/RootRegistry.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class RootRegistryPage extends Component {
</Button>
</div>
<div>
<Table>
<table>
<thead>
<tr>
<th>Name</th>
Expand Down Expand Up @@ -137,7 +137,7 @@ ipns */}
</td>
</tr>
</tbody>
</Table>
</table>
</div>
</MainContainer>
</ScrollContainer>
Expand Down
4 changes: 2 additions & 2 deletions src/containers/TxQueue/TxQueue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TxQueue extends Component {
<ScrollContainer>
<MainContainer>
<PageTitle>transaction</PageTitle>
<Table>
<table>
<thead>
<tr>
<th>type</th>
Expand All @@ -60,7 +60,7 @@ class TxQueue extends Component {
</tr>
))}
</tbody>
</Table>
</table>
</MainContainer>
</ScrollContainer>
);
Expand Down
15 changes: 15 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,18 @@ body, html, #root {
* {
box-sizing: border-box;
}

table {
border-collapse: collapse;
width: 100%;
}

td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}

tr:nth-child(even) {
background-color: #dddddd;
}
2 changes: 1 addition & 1 deletion src/redux/rootRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const localStorageItemName = 'rootRegistry';
const initState = {
items: {
cyber: {
hash: 'QmbzVCxPXseAWScVEMPAKCZRtVub29DXuQAooSTD3dH2WX',
hash: 'QmYesH8RvAQpuZvwHcNaRjbguALfURnL6jcq41LavAcmCz',
protocol: 'ipfs',
},
wiki: {
Expand Down

0 comments on commit b8e0a8c

Please sign in to comment.