-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix display of width controls for legacy layouts #43688
Conversation
Size Change: +9 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
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.
Good catch @tellthemachines!
On trunk, I can replicate that the controls are displayed twice in the constrained layout when a contentSize
is set, and they were not displaying for the Query block in the markup provided. Afterwards, this PR ensures the additional / legacy controls are only displayed when there is no layout type set, and the Query block with the provided markup now displays the controls 👍
Before | After |
---|---|
LGTM! ✨
What?
Fixes display of custom content/wide width controls for blocks that have legacy "inherit" and "contentSize" attributes.
Why?
How?
Testing Instructions
Try the following test markup:
and
Check that both the Query block and the first Column in the Columns block display the "content" and "wide" controls in the sidebar Layout section.
Also chech that the bug reported here is fixed:
Screenshots or screencast