Skip to content

Commit

Permalink
make the preview block render in full width so it visually matches th…
Browse files Browse the repository at this point in the history
…e output of what will be rendered in the mail itself.
  • Loading branch information
LordRembo committed Apr 8, 2024
1 parent c9f2aa1 commit 524ca93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamicContent/dynamicContent.domcomponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class DynamicContentDomComponents {
editable: false,
stylable: false,
propagate: ['droppable', 'editable'],
style: baseModel.prototype.defaults['style-default'],
style: { ...baseModel.prototype.defaults['style-default'], ...{ display: 'block' } },
attributes: {
'data-gjs-type': 'dynamic-content', // Type for GrapesJS
'data-slot': 'dynamicContent', // used to find the DC component on the canvas for e.g. token transformation
Expand Down

0 comments on commit 524ca93

Please sign in to comment.