Opened 16 months ago
Last modified 15 months ago
#59203 new defect (bug)
Twenty Nineteen: fix Separator block's full-width size and placement
Reported by: | nidhidhandhukiya | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | Bundled Theme | Keywords: | has-patch changes-requested |
Focuses: | css | Cc: |
Description
Steps to Reproduce the issue :-
- Activate Twenty Nineteen Theme.
- Take Separator Block.
- Choose Default from the styles.
- Choose Full-width.
You can able to see two issues.
1> In editor side the separator is not visible.
2> Both side editor and front end even after applying full-width it is not showing in full width.
I have attached video for better understanding.
Video URL :- https://share.cleanshot.com/4ybJ9CQsCPR33NW1DPLm
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
The Separator block needs to remain
2.25rem
for the Default style when it has no alignment, center or Wide width.The Full width alignment probably could span the full page width in both the Default and Wide Line styles, overiding the
max-width
insass/blocks/_blocks.scss
.In
style-editor.scss
, the width could be 100% for Default and Wide Line styles:To fix the missing margin in the iframe editor, the editor styles need to add a selector such as
block-editor-iframe__body
(it was already adjusted in [48602] and [52925]).