Opened 2 years ago
Closed 2 years ago
#56050 closed defect (bug) (fixed)
Twenty Twenty-One: heading nested inside cover width discrepancy in Editor
Reported by: | mrfoxtalbot | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | minor | Version: | 6.0 |
Component: | Bundled Theme | Keywords: | has-patch has-screenshots |
Focuses: | ui, css | Cc: |
Description
Headings inside a cover block appear too wide in the editor, but look fine later in the published post.
To reproduce
- Create a new post or a page. Add a cover block, set the cover block to Full width.
- Inside the cover block add a headings block.
- For comparison, add a paragraph block below the heading.
- Notice the different width and alignment between the two.
- Save draft and go preview the post/page. Notice the paragraph and heading are both the same width.
- A similar thing happens when headings block is nested in the group block set to wide or full width.
Expected behavior
For the editor to match the preview.
This bug was reported originally here https://github.com/WordPress/gutenberg/issues/25937
Attachments (6)
Change History (14)
#3
@
2 years ago
This issue was resolved by the patch given by @kajalgohel .
Theme: Twenty Twenty-One
WP version: 6.0
Please find attached screenshot:
https://share.cleanshot.com/8JoxmNZbOXGOStzWUu1O
This ticket was mentioned in Slack in #core by sergey. View the logs.
2 years ago
Note: See
TracTickets for help on using
tickets.
Twenty Twenty-One: heading nested inside cover width discrepancy in Editor