-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/post title borders in code editor #14771
Conversation
@@ -36,6 +36,15 @@ | |||
// buttons to shrink anyway. | |||
flex-shrink: 0; | |||
} | |||
|
|||
// Hide the thick block border in the Code Editor. | |||
.edit-post-text-editor__body .editor-post-title & { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're in the editor module, we should reference edit-post styles. If we were to override this, it should happen in the edit-post
module where we use the post title component.
@@ -99,6 +99,16 @@ | |||
opacity: 1; | |||
} | |||
} | |||
|
|||
// Hide the thick block border in the Code Editor. | |||
.edit-post-text-editor__body & { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the previous comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Should be fixed in dc24fa6
* Remove thick left border for the title in the code editor. * Remove thick left border from the permalink field in the code editor. * Move styles into the `edit-post` module. * Remove no-longer-necessary style change. * Remove unnecessary styles.
* Remove thick left border for the title in the code editor. * Remove thick left border from the permalink field in the code editor. * Move styles into the `edit-post` module. * Remove no-longer-necessary style change. * Remove unnecessary styles.
Eliminates the thick block border on the post title and permalink box, when the user is in the Code Editor. As mentioned in #14761 (review)
Before
After