This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
Photo single post: Update post content settings #567
Merged
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.
Description
When the Photo blog single post template is used, the content in the post editor (block editor) is touching the edge of the editor. It makes the content more difficult to edit.
This pull requests makes some adjustments to the pattern to solve this:
Closes #529
Screenshots
Editor, after:
Testing Instructions
Go to Appearance > Editor > Templates.
Select the single post template.
In the settings sidebar, open the Template tab.
Locate and open the Design panel.
Select the single post template for the photo blog.
Save.
Create a new post.
Expected result:
When you add the first paragraphs they are to the left below the post title, not centered below it.
There is a comfortable amount of spacing between the blocks and the edge of the editor.
When you add a block that supports wide and full width, such as an image or group, the wide and full width options are available in the block toolbars.
When you view the post content on the front, it is not a 100% match to the editor.
In the editor, the full width block is slightly wider than the wide block. But on the front, full and wide have the same width.
This is not a bug with the theme.
The content is aligned to the left (unless it has been positioned using options!).
The content aligns with the rest of the blocks on the page layout.
Test that the layout and the spacing around the content looks correct on different screen widths.