On nested Heading blocks, the "Change heading level" button loses padding when clicked #22683
Labels
[Block] Heading
Affects the Headings Block
[Package] Block library
/packages/block-library
[Type] Regression
Related to a regression in the latest release
The issue
When you click the heading level button in a Heading block toolbar, some of its left spacing disappears for some reason. But this only happens when the Heading block is nested in another block.

(Ignore the mover placement in the screenshot; I took the picture on another branch, but I tested to make sure the bug was in
master
.)I think this regressed due to changes in #20246. The cause appears to be due to a style rule being applied when this

<span>
is created upon clicking the button:How to reproduce
The text was updated successfully, but these errors were encountered: