Skip to content

Commit

Permalink
feat(blocks): use breakpoint instead of grid in Column block #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed May 10, 2021
1 parent 7f66db9 commit e94b2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/blocks/Column/block.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% import "plugins/blueprints/blocks/macros/grid.html" as grid %}
{% import "plugins/blueprints/blocks/macros/attr.html" as attr %}
<div {{ include(template_from_string(attr.class([block.properties.class, grid.col(block.properties.size, block.properties.grid)]))) }}
<div {{ include(template_from_string(attr.class([block.properties.class, grid.col(block.properties.size, block.properties.breakpoint)]))) }}
{{ include(template_from_string(attr.data(block.properties.data))) }}
{{ include(template_from_string(attr.style(block.properties.style))) }}>
{% for block in block.blocks %}
Expand Down

0 comments on commit e94b2d3

Please sign in to comment.