From 7461f5dee56ac2ab232927b802714d6a64039a50 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Wed, 15 Aug 2018 16:36:42 +0100 Subject: [PATCH] Fix canvas jumb when navigation regions (#9014) --- edit-post/components/layout/style.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/edit-post/components/layout/style.scss b/edit-post/components/layout/style.scss index a035ed3397a63..00e97f10d9d39 100644 --- a/edit-post/components/layout/style.scss +++ b/edit-post/components/layout/style.scss @@ -117,15 +117,16 @@ } .edit-post-toggle-publish-panel { - display: block; - position: relative; - float: right; - top: -9999em; + position: absolute; + bottom: 0; + right: 0; z-index: z-index(".edit-post-toggle-publish-panel"); - padding: 20px 0 0 0; width: $sidebar-width; + height: 0; + overflow: hidden; &:focus-within { - top: 0; + height: auto; + padding: 20px 0 0 0; } .edit-post-toggle-publish-panel__button {