fix alignment in table component when there's no data

This commit is contained in:
Danny 2018-05-29 13:57:59 +02:00
parent df7496a80d
commit 2aac3d211f

View File

@ -75,7 +75,7 @@ class Table extends Component {
<div class="cell">{p.Pageviews}</div> <div class="cell">{p.Pageviews}</div>
<div class="cell">{p.Visitors||"-"}</div> <div class="cell">{p.Visitors||"-"}</div>
</div> </div>
)}) : <div class="table-row">Nothing here, yet.</div>; )}) : <div class="table-row"><div class="cell main-col">Nothing here, yet.</div></div>;
return ( return (
<div class={(state.loading ? "loading" : '')}> <div class={(state.loading ? "loading" : '')}>