Skip to content

Commit

Permalink
change(styles): filter align widget from volto styling within basic l…
Browse files Browse the repository at this point in the history
…isting block schema
  • Loading branch information
ichim-david committed Sep 26, 2022
1 parent 3dd7bbe commit eb6da1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/blocks/Listing/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export const BasicListingBlockStylesSchema = ({ intl, formData }) => {
const styleSchema = defaultStyleSchema({ intl, formData });
styleSchema.fieldsets[0].fields.push('theme', 'text_align');

styleSchema.fieldsets[0].fields = styleSchema.fieldsets[0].fields.filter(
(val) => val !== 'align',
);

styleSchema.properties = {
...styleSchema.properties,
theme: {
Expand Down

0 comments on commit eb6da1b

Please sign in to comment.