-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 container divs for each column in the Columns block #5935
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
Comments
Discussion also in #5351. |
danielbachhuber
added
Feedback
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
labels
Apr 10, 2018
👍 |
Closed
#7234 resolved this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
The current way that the columns HTML is saved makes it impossible to style if you aren't using CSS Grid. Whist browser support for CSS Grid is decent, it's not good enough when dealing with particular clients (An example being the NHS in the UK).
For a 2 column block, the current output is as such:
To allow for a grid using CSS Flexbox, or legacy floats it would need to be:
Adding containers still works with CSS Grid, whilst also allowing for added flexibility. Having the added
column
class also allows for much more flexibility (Instead of targetinglayout-column-1
,layout-column-2
etc.) such as the following CSS:The text was updated successfully, but these errors were encountered: