layout adjustments

This commit is contained in:
Cássio Zen 2016-07-13 17:20:41 -03:00
parent 9e213c3b9f
commit f4b44c5661
4 changed files with 3 additions and 10 deletions

View File

@ -68,7 +68,7 @@ export default class EntryListing extends React.Component {
const name = collection.get('name');
return <div>
<h2>Listing {name}</h2>
<h1>Listing {name}</h1>
<div ref={(c) => this._entries = c}>
{entries.map((entry) => {
const path = `/collections/${name}/entries/${entry.get('slug')}`;

View File

@ -29,10 +29,7 @@ class DashboardPage extends React.Component {
}
return <div>
<h1>Dashboard</h1>
<div>
{entries ? <EntryListing collection={collection} entries={entries}/> : 'Loading entries...'}
</div>
{entries ? <EntryListing collection={collection} entries={entries}/> : 'Loading entries...'}
</div>;
}
}

View File

@ -10,6 +10,7 @@
position: relative;
background-color: var(--backgroundColor);
padding: 1px 0;
margin-bottom: 50px;
}
.inputArea {

View File

@ -15,8 +15,3 @@ body {
:global #root, :global #root > * {
height: 100%;
}
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, ol, ul {
margin: 0;
padding: 0;
}