Open daviedR opened 10 months ago
Hi, This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
Description
When grouping 2 or more blocks into a
Row
block (horizontal flex layout), we can set the child blocks' width into 3 modes:Fit
,Fill
, andFixed
.This issue occurred when the
Row
block has 2 child blocks:Fixed
width.Fit
orFill
, but the content inside this block is long so that it wraps into multiple lines.This will cause the 1st block to shrink and not obey the 300px
Fixed
width setting. See the screenshot below:This happens because the generated CSS for the 1st block with
Fixed
width setting is onlyflex-basis: 300px
. Additional CSSflex-shrink: 0
is required to ensure the 1st block doesn't shrink.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Installed WordPress version: 6.4.2 This issue occurred with and without the Gutenberg plugin installed.
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