layout adjustments
This commit is contained in:
parent
9e213c3b9f
commit
f4b44c5661
@ -68,7 +68,7 @@ export default class EntryListing extends React.Component {
|
|||||||
const name = collection.get('name');
|
const name = collection.get('name');
|
||||||
|
|
||||||
return <div>
|
return <div>
|
||||||
<h2>Listing {name}</h2>
|
<h1>Listing {name}</h1>
|
||||||
<div ref={(c) => this._entries = c}>
|
<div ref={(c) => this._entries = c}>
|
||||||
{entries.map((entry) => {
|
{entries.map((entry) => {
|
||||||
const path = `/collections/${name}/entries/${entry.get('slug')}`;
|
const path = `/collections/${name}/entries/${entry.get('slug')}`;
|
||||||
|
@ -29,10 +29,7 @@ class DashboardPage extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return <div>
|
return <div>
|
||||||
<h1>Dashboard</h1>
|
|
||||||
<div>
|
|
||||||
{entries ? <EntryListing collection={collection} entries={entries}/> : 'Loading entries...'}
|
{entries ? <EntryListing collection={collection} entries={entries}/> : 'Loading entries...'}
|
||||||
</div>
|
|
||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
background-color: var(--backgroundColor);
|
background-color: var(--backgroundColor);
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputArea {
|
.inputArea {
|
||||||
|
@ -15,8 +15,3 @@ body {
|
|||||||
:global #root, :global #root > * {
|
:global #root, :global #root > * {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, ol, ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user