-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Try "constrained" content width as new layout type #42763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6fbc632
Try content width column as new layout type
tellthemachines 81768a3
Consolidate root selector rules.
tellthemachines 464139b
Undo rebase weirdness
tellthemachines 5e8010d
Add deprecation and server-side legacy support
tellthemachines 20499c0
Change group block approach
tellthemachines 93a985a
Fix buggy align behaviour
tellthemachines f2fc2bb
Alignments should work for classic themes
tellthemachines f748fee
Set output to empty string.
tellthemachines f4e7d10
Add layout type fallback for alignments
tellthemachines f54f812
Regenerate fixtures
tellthemachines 6af5ecd
Update snapshots
tellthemachines f52ba94
Change nested blocks to buttons
tellthemachines 86f5ed9
Fix php test diffs
tellthemachines b6b2483
Fix rebase inconsistency in layout
tellthemachines 454195f
Add test for content size variable output
tellthemachines 47464ac
Add test for column layout.
tellthemachines 7f5874b
Fix loss of layout attributes.
tellthemachines 155885e
Make layout changes work for blocks without deprecation
tellthemachines 5d3573f
Fix custom content size controls
tellthemachines 6096d7d
Fix post title
tellthemachines de61635
Update new e2e snapshots
tellthemachines 09756f3
Change layout type name to "constrained"
tellthemachines 772906a
Update snapshots for new tests.
tellthemachines 1f516f1
Content size variables should be output in the site editor.
tellthemachines 17124fb
Fix custom content sizes in editor.
tellthemachines f22bee0
Tidy up PHP.
tellthemachines abd1baf
Add deprecation fixtures
tellthemachines 78a3ed5
Fixed duplicated code after rebase hack job. Sorry!
ramonjd 49b12fb
Increase block gap selector specificity.
tellthemachines File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Tidy up PHP.
- Loading branch information
commit f22bee07a15d01ab25b5b19aab57b0d9e7a815d0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nit, could this be moved up to just after the $used_layout declaration as it seems like the other declarations are not needed if this returns early?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that makes sense!