Skip to content

Commit

Permalink
Fix Container
Browse files Browse the repository at this point in the history
  • Loading branch information
dipaksarkar committed May 7, 2024
1 parent dee9589 commit 2c19b35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grapesjs-templates",
"version": "1.0.5",
"version": "1.0.6",
"description": "Grapesjs templates",
"main": "dist/index.js",
"repository": {
Expand Down
8 changes: 3 additions & 5 deletions src/layouts/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ export default (cm, options = {}) => {
attributes: { class: type },
traits: containerTraits,
components: `<p style="margin: 15px 0px">Container</p>`,
styles: `
.${type}, [class^="${type}-"] {
padding: 15px;
}
`
style: {
padding: '15px'
}
}
}
})
Expand Down

0 comments on commit 2c19b35

Please sign in to comment.