-
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
Grid block: add "auto-fit" option #57186
Comments
Thanks for the report @bradhogan - I'm unclear what block you're referring to by the 'Grid' block as that doesn't sound like one of the Core Gutenberg blocks. Could you please tell me a little more? |
@jordesign in the admin menu, go to Gutenberg > Experiments > check to turn the grid block on (it's part of the Group block) |
Ah - thanks - the experimental grid block. Thanks for confirming. |
Thanks for creating this issue! The use of I'll leave this open and re-label it as an enhancement to add |
Yes, please, implement the |
Description
Running into an issue when using the grid block and seems this would be a quick fix. Rather than using
auto-fill
in thegrid-templates-column
if we switch toauto-fit
, seems to work better to help those columns fill the space.Step-by-step reproduction instructions
repeat(auto-fill, minmax(min(200px, 100%), 1fr))
torepeat(auto-fit, minmax(min(200px, 100%), 1fr))
in the console, you'll see it fixes the issue.Screenshots, screen recording, code snippet
https://soapbox.wistia.com/videos/1IWnsyoL8e
Environment info
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
The text was updated successfully, but these errors were encountered: