Fix alignment and block gap settings for columns and groups
In this commit, I disabled the layout for both groups and columns. This allows using our custom css for alignment of images (left, right and center). The CSS for constrained layout uses floats and it breaks spacing in the editor. [MAILPOET-6249]
This commit is contained in:
committed by
Jan Lysý
parent
e9d6658b20
commit
b0507bca9e
@@ -15,6 +15,10 @@ function disableGroupVariations() {
|
||||
variations: settings.variations.filter(
|
||||
(variation) => variation.name === 'group',
|
||||
),
|
||||
supports: {
|
||||
...settings.supports,
|
||||
layout: false,
|
||||
},
|
||||
};
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
|
@@ -164,6 +164,10 @@
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
&.alignright {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-styles-wrapper {
|
||||
|
Reference in New Issue
Block a user