-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Editor - Resizing elements inside page rows #645
Conversation
Your Render PR Server URL is https://toolpad-pr-645.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cb476ks6fj38j8osbfc0. |
Your Render PR Server URL is https://toolpad-pr-645.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cbaqegnh8vld1f3pautg. |
d12da83
to
a9e1c30
Compare
@@ -1058,6 +1142,16 @@ export default function RenderPanel({ className }: RenderPanelProps) { | |||
lastContainerChild.parentProp, | |||
parent.parentIndex, | |||
); | |||
|
|||
if (isPageColumn(parent)) { |
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.
i'll probably improve this function later to not have to repeat as much logic- should be done separately though as it relates to the whole editor and not just resizing
Your Render PR Server URL is https://toolpad-pr-645.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cbf9jgti0e810m439ne0. |
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.
👍 lgtm
Related issues: #101 and #359
Add ability to resize node elements inside page rows, in the editor:
Screen.Recording.2022-07-19.at.19.46.13.mov
layout
namespace in page row children to control the value of that propcloses #681