Skip to content
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

Add column padding option #9296

Closed
camro opened this issue Aug 24, 2018 · 3 comments · May be fixed by MaxMood96/gutenberg#4, npneeraj/gutenberg#4 or npneeraj/gutenberg#5
Closed

Add column padding option #9296

camro opened this issue Aug 24, 2018 · 3 comments · May be fixed by MaxMood96/gutenberg#4, npneeraj/gutenberg#4 or npneeraj/gutenberg#5
Labels
[Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement.

Comments

@camro
Copy link

camro commented Aug 24, 2018

Is your feature request related to a problem? Please describe.
Currently, we can't have padding on columns unless we add it manually.

Describe the solution you'd like
Add the ability to have padding on columns

@designsimply designsimply added [Type] Enhancement A suggestion for improvement. [Feature] Blocks Overall functionality of blocks labels Aug 24, 2018
@dionysous
Copy link

In my opinion does the padding of the columns in the frontend belong to the theme, where it should be declared in general for all columns. Otherwise you have to set up every single column for a specific padding value. 🤔

@mor10
Copy link
Contributor

mor10 commented Oct 1, 2018

Columns are laid out using flex which means as of right now, each variant (2 columns, 3 columns, 4 columns, etc) needs its own rule to describe the width of each column. I say right now because eventually the gap property will work with flex allowing us to set one value for the gap between columns. That is in the future though. For now, to create gaps between columns you must set the width of each of the items within the flexible box.

For reference: https://developer.mozilla.org/en-US/docs/Web/CSS/gap

@mtias
Copy link
Member

mtias commented Aug 30, 2020

Consolidating in #10730 which has a bit more activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement.
Projects
None yet
5 participants