You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These work ok on fixed themes - with a single body width. However, I am working on for the Gutenberg Theme a fluid width, allowing for things like full width images/content to be up to the editor. This comes into more play as we move to have layout.
For example, this doesn't work because of that margin:
If you use a scary !important, it can be got around. I would suggest though that looking into if having a negative margin on the block is needed though. Happy if another work around also works. I mostly want to know why this is needed and can we avoid it?
The text was updated successfully, but these errors were encountered:
This is an issue purely with the front, rendered through a theme, not through the editor. Currently the gallery outputs a right margin on the front.:
.wp-block-gallery:not(.components-placeholder) { margin-right: -16px; }
These work ok on fixed themes - with a single body width. However, I am working on for the Gutenberg Theme a fluid width, allowing for things like full width images/content to be up to the editor. This comes into more play as we move to have layout.
For example, this doesn't work because of that margin:
.wp-block-gallery{ margin: 1.5em auto; max-width: 1100px; }
If you use a scary !important, it can be got around. I would suggest though that looking into if having a negative margin on the block is needed though. Happy if another work around also works. I mostly want to know why this is needed and can we avoid it?
The text was updated successfully, but these errors were encountered: