Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes #8881.
The sibling inserter hit area was not centered perfectly between two blocks. This PR fixes that.
Props to @chrisvanpatten for this fix.
The issue, as described in #8881, is that the sibling inserter covered actual text of text blocks. Specifically, it has a large empty hit area whose sole purpose is to show you the sibling inserter button when you hover that area. However this was misaligned, and covered text below.
This fixes that by aligning it correctly. Here's a GIF with debug colors. The orange shows the sibling inserter hit area, the red shows the text input fields:
Noting to myself that if we move further with #8350, we need to account for that with the sibling inserter positioning and height. I have some ideas, including simply having a smaller minimum height of the hoverable area, but this is something to think about. The code in question is this: