Skip to content

Commit

Permalink
Extend base for grid and row components to inherit style options
Browse files Browse the repository at this point in the history
  • Loading branch information
givanz committed Dec 27, 2023
1 parent 76ff42f commit 040d1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/vvvebjs/components-bootstrap5.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ Vvveb.Components.extend("_base", "html/tablebody", {
html: "<tbody><tr><td>Cell 1</td><td>Cell 2</td><td>Cell 3</td></tr></tbody>"
});

Vvveb.Components.add("html/gridcolumn", {
Vvveb.Components.extend("_base", "html/gridcolumn", {
name: "Grid Column",
image: "icons/grid_row.svg",
classesRegex: ["col-"],
Expand Down Expand Up @@ -762,7 +762,7 @@ Vvveb.Components.add("html/gridcolumn", {
},
}]
});
Vvveb.Components.add("html/gridrow", {
Vvveb.Components.extend("_base", "html/gridrow", {
name: "Grid Row",
image: "icons/grid_row.svg",
classes: ["row"],
Expand Down

0 comments on commit 040d1ad

Please sign in to comment.