From 6ac67da94f285fd6967d294e8f31cbf4c228e35d Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Wed, 26 Jun 2019 17:15:27 +1000 Subject: [PATCH] Adjust margins and borders. --- packages/editor/src/components/post-title/style.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-title/style.scss b/packages/editor/src/components/post-title/style.scss index 7a2a28cedd94b..12949817265a7 100644 --- a/packages/editor/src/components/post-title/style.scss +++ b/packages/editor/src/components/post-title/style.scss @@ -108,12 +108,20 @@ color: $dark-gray-900; flex-wrap: wrap; height: auto; + position: relative; + left: $block-left-border-width; + top: -2px; + width: calc(100% - #{$block-left-border-width}); @include break-mobile() { position: absolute; top: -$block-toolbar-height + $border-width + $border-width + 1px; // Shift this element upward the same height as the block toolbar, minus the border size + right: 0; + flex-wrap: nowrap; + width: auto; + } + @include break-small() { left: $block-side-ui-clearance; right: $block-side-ui-clearance; - flex-wrap: nowrap; } }