In column block having full width has no padding issue in mobile view having width less than 600px.
Description
I have a fresh WordPress site setup having no external plugin and theme. When I am using column block in full width then column has no padding in mobile view.
WordPress version 5.9.1 Theme Twenty Twenty Two
Step-by-step reproduction instructions
- Open editor and select column block. Select the full-width option in the column block.
- Add 2 columns. In 1 column add some texts and in the other column add image.
- Now view on the front side. View in a responsive device having a width less than 600px.
- You can clearly notice the padding issue in the column having text.
- So the solution is to give left-right padding 15-20px.
Adding screenshot for better understanding.
Screenshots, screen recording, code snippet
Screenshot link: https://prnt.sc/IZlhCzECe0vC
Environment info
No response
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
Hi @Smit2808, Thank you for this ticket. I think it's not possible to do the pull request through the Gutenberg plugin for the Twenty Twenty Two theme. But by adding the following code to teh style.css in the theme the issue will be resolved. I tested the code and was confident about it.
.wp-block-columns.alignfull .wp-block-column p:not(.has-background){
padding-left: 20px;
padding-right: 20px;
}
I do not seem to be able to reproduce this problem any more using WordPress 6.0.2 & Gutenberg Version 14.1.0.
On my test, the columns do have some padding:

I am going to close this issue but please feel free to reopen if if you can still reproduce it , @Smit2808. Thank you!
Ah, my bad. I missed the part about the columns block being full with. I can confirm this is still reproducible (WordPress 6.0.2 + Version 14.1.0):

I am going to re-open this.
Thanks for the report, @Smit2808! A full-width Columns block is meant to run edge to edge, and that's also why images in it can bleed to the screen edge. A built-in side padding would break those designs. The inset is set per block instead: the Columns block (and each Column) has a Padding control under Dimensions, so you can add space there, for example only on the text column. I'm going to close this as working as designed.