Repository navigation
Add adjustable height in focus mode - #35943
kevin940726 wants to merge 3 commits into
Conversation
|
Size Change: +240 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
|
Thanks for trying this out. Imo it feels good except I don't think the height should be adjustable – it doesn't really serve any practical purpose that I can see. |
Sure I can try another one without this feature. It just seems natural to me to be able to also resize the height when we can resize the width. It could be useful when the template part flows vertically rather than horizontally, like the vertical nav bar in wp-admin for instance, so that the users can view it with different heights and make adjustments. It doesn't feel like a necessity to me though, but rather exists for compatibility reason. |
|
I agree with Jay; Changing the height doesn't really serve a purpose. |
|
Close in favor of #35974. |
Description
Close #35512. Alternative to #35856. Implement the design similar to the one in #35512 (comment).
The height of the canvas is now determined by the template part contents. You can also manually resize the height if needed. The preview options are removed, in the future we can re-implement a new "viewport width" similar to the one in the design of pattern directory.
How has this been tested?
tt1-blocksthemeScreenshots
Kapture.2021-10-26.at.13.22.04.mp4
Types of changes
New feature
Checklist:
*.native.jsfiles for terms that need renaming or removal).