Group "Inherit default layout" is not applied to container
Description
When adding a group within a group, and selecting the "Inherit default layout" option, the default width is only applied to elements within the group container, and not the group container itself.
The average user would not notice as any content within the inner group is aligned with the default width. However when the inner group is given a background color, the issue becomes apparent, and it is noticeable that the group block is wider than the default width.
It seems that > * could be removed from lib/block-supports/layout.php L66 to target the group container itself, rather than only the elements within the group.
Step-by-step reproduction instructions
- Add/edit a post/page.
- Insert a group block
- Insert an inner group block within the first block
- In the inner group block, select the "Inherit default layout" option in the sidebar
- Add some content such as a paragraph to the inner group
- Notice how the default width is applied to the paragraph but not the group container
Expected behaviour
Actual behaviour
Screenshots or screen recording (optional)

Code snippet (optional)
WordPress information
- WordPress version: 5.7
- Gutenberg version: 10.3.1
- Are all plugins except Gutenberg deactivated? Yes
- Are you using a default theme (e.g. Twenty Twenty-One)? TT1-Blocks
Device information
- Device: Desktop
- Operating system: W10
- Browser: Firefox
Upon looking into this, I think the "Inherit default layout" option is only supposed to target elements within the group container.
If one wants the group with the background color to be the same default width as the paragraph, it seems the answer is to add a third group block within the previous inner group block, or set the grandparent outer block to "Inherit default layout".
I'll close this as it seems to not be an issue requiring any fixing.