-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 height mismatch between viewing and editing template parts #50775
Conversation
Size Change: -22 B (0%) Total Size: 1.38 MB
ℹ️ View Unchanged
|
That's what I thought was wanted? Do we want the opposite? That means the template part to have the content height in 'view' mode? |
Yes, I think the opposite makes more sense. But @jasmussen might confirm here. |
My sense is that we want this: That is, content-fitting height when previewing the frame, but full-height in the edit view. An alternative is content-fitting in both site view and edit view, though with built-in max-heights, but that might be weird in the edit view. @jameskoster just thought about this recently, he can add more. |
What?
Resolves: #48476
This PR just removes the specific height when editing a Template Part, so it defaults to
100%
, like the rest of the frames' height. @youknowriad mentioned that there might be some nuances, but in my testing I didn't spot and side effect..Testing Instructions
edit
mode