-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Status] Needs More InfoFollow-up required in order to be actionable.Follow-up required in order to be actionable.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When setting the maximum height in the editor for a group block, I expect the CSS property to reflect max-height but instead the min-height property is being set.
Step-by-step reproduction instructions
- Open playground instance
- Go to sample page
- Select a paragraph and group it
- Open the settings for the group block
- Select Styles Tab
- Under the Dimensions section, set the Maximum Height to any number
- Save and view on front-end
- Inspect the block and view the CSS properties that were applied
Screenshots, screen recording, code snippet
Set max height:
View in front-end:
Environment info
- WP 6.7, PHP 8.2
- Windows 10 or 11
- Playground or non-playground instance has same issue
- Make sure to select English (Canada) in playground instance
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
himanshupathak95
Metadata
Metadata
Assignees
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Status] Needs More InfoFollow-up required in order to be actionable.Follow-up required in order to be actionable.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended