diff --git a/src/actions/editorialWorkflow.js b/src/actions/editorialWorkflow.js index acda56f8..37a6ac71 100644 --- a/src/actions/editorialWorkflow.js +++ b/src/actions/editorialWorkflow.js @@ -200,8 +200,8 @@ export function publishUnpublishedEntry(collection, slug, status) { const state = getState(); const backend = currentBackend(state.config); const transactionID = uuid.v4(); - dispatch(unpublishedEntryPublishRequest(collection, slug, status)); - backend.publishUnpublishedEntry(collection, slug, status, transactionID) + dispatch(unpublishedEntryPublishRequest(collection, slug, status, transactionID)); + backend.publishUnpublishedEntry(collection, slug, status) .then(() => { dispatch(unpublishedEntryPublished(collection, slug, status, transactionID)); }) diff --git a/src/containers/App.css b/src/containers/App.css index 84287cf5..1c9f24bb 100644 --- a/src/containers/App.css +++ b/src/containers/App.css @@ -1,5 +1,3 @@ -@import "material-icons.css"; - html { box-sizing: border-box; margin: 0; @@ -22,8 +20,18 @@ body { font-family: 'Roboto', sans-serif; } +.nav { + display: block; + padding: 1rem; + + & .heading { + border: none; + } +} + :global #root, :global #root > * { + margin-top: 64px; height: 100%; } @@ -278,3 +286,11 @@ h1 { font-size: 1.2em; } } + +.navDrawer { + max-width: 240px !important; + + & .drawerContent { + max-width: 240px !important; + } +} diff --git a/src/containers/App.js b/src/containers/App.js index 561bc2e4..f9f8524f 100644 --- a/src/containers/App.js +++ b/src/containers/App.js @@ -47,7 +47,7 @@ class App extends React.Component { } state = { - navDrawerIsVisible: false, + navDrawerIsVisible: true, }; componentDidMount() { @@ -155,7 +155,7 @@ class App extends React.Component { @@ -175,15 +175,15 @@ class App extends React.Component { + -
{children}