diff --git a/packages/edit-post/src/components/text-editor/style.scss b/packages/edit-post/src/components/text-editor/style.scss index e925344dc9e3a..d7f3eacd2a23d 100644 --- a/packages/edit-post/src/components/text-editor/style.scss +++ b/packages/edit-post/src/components/text-editor/style.scss @@ -34,6 +34,13 @@ padding: $block-padding; } + // Hide the thick left border in the code editor. + &:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover, + &:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input { + box-shadow: none; + border-left-width: $border-width; + } + textarea:hover, &.is-selected textarea { box-shadow: 0 0 0 $border-width $light-gray-500; @@ -41,9 +48,12 @@ } .editor-post-permalink { - left: 0; - right: 0; margin-top: -6px; + + // Hide the thick left border in the code editor. + box-shadow: none; + border: none; + outline: $border-width solid $light-gray-800; } @include break-small() {