From bef69dc477c1535cf0b21fd8efdbb1a1eb5d50bb Mon Sep 17 00:00:00 2001 From: Kristoffer Sivertsen Date: Fri, 2 Aug 2019 16:47:03 +0200 Subject: [PATCH] [desk-tool] Minor bug fix to editor --- packages/@sanity/desk-tool/src/pane/Editor/Editor.js | 1 - packages/@sanity/desk-tool/src/pane/styles/Editor.css | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@sanity/desk-tool/src/pane/Editor/Editor.js b/packages/@sanity/desk-tool/src/pane/Editor/Editor.js index 4150783be9e..15521b35a0e 100644 --- a/packages/@sanity/desk-tool/src/pane/Editor/Editor.js +++ b/packages/@sanity/desk-tool/src/pane/Editor/Editor.js @@ -572,7 +572,6 @@ export default withRouterHOC( isCreatingDraft || isPublishing || isReconnecting || - isRestoring || isUnpublishing || !draft || errors.length > 0 diff --git a/packages/@sanity/desk-tool/src/pane/styles/Editor.css b/packages/@sanity/desk-tool/src/pane/styles/Editor.css index fe6ffc4e7e6..9e19e186926 100644 --- a/packages/@sanity/desk-tool/src/pane/styles/Editor.css +++ b/packages/@sanity/desk-tool/src/pane/styles/Editor.css @@ -98,6 +98,7 @@ @media (--screen-medium) { position: absolute; + display: grid; grid-template-areas: 'publishButton publishInfoUndoButton'; grid-template-rows: 2.5em; grid-template-columns: 10em 10em;