Skip to content

Commit 05c2ef7

Browse files
fix: gutter correction
1 parent db522d8 commit 05c2ef7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/components/bolt-grid/src/grid-item.twig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
{% set attributes = create_attribute(attributes|default({})) %}
1616

1717
<bolt-grid-item
18-
{{ attributes }}
1918
{% if row_start %}row-start="{{ row_start }}"{% endif %}
2019
{% if row_end %}row-end="{{ row_end }}"{% endif %}
2120
{% if row_span %}row-span="{{ row_span }}"{% endif %}
@@ -26,8 +25,7 @@
2625

2726
{% if align %}align="{{ align }}"{% endif %}
2827
{% if valign %}valign="{{ valign }}"{% endif %}
28+
{{ attributes }}
2929
>
30-
{% if content %}
31-
{{ content }}
32-
{% endif %}
30+
{{ content }}
3331
</bolt-grid-item>

packages/components/bolt-grid/src/grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626
@include bolt-support-grid-gap {
27-
grid-gap: bolt-spacing(#{$name});
27+
grid-column-gap: bolt-spacing(#{$name});
2828
margin-left: 0;
2929

3030
> bolt-grid-item {

0 commit comments

Comments
 (0)