Skip to content

Commit

Permalink
Merge pull request #19 from markteekman/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
markteekman authored Mar 5, 2022
2 parents c500116 + 87b0c4c commit 67c2e43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "accessible-astro-starter",
"version": "1.2.2",
"version": "1.2.3",
"private": true,
"scripts": {
"start": "astro dev",
Expand Down
20 changes: 9 additions & 11 deletions src/assets/scss/base/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,17 @@
align-self: end;
}

@include breakpoint(small) {
@for $i from 1 through 12 {
> .small-#{$i} {
grid-column-end: span $i;
}
@for $i from 1 through 12 {
> .small-#{$i} {
grid-column-end: span $i;
}

> .offset-small-#{$i} {
grid-column-start: calc(#{$i} + 1);
}
> .offset-small-#{$i} {
grid-column-start: calc(#{$i} + 1);
}

&.small-grid-#{$i} {
grid-template-columns: repeat(#{$i}, 1fr);
}
&.small-grid-#{$i} {
grid-template-columns: repeat(#{$i}, 1fr);
}
}

Expand Down

0 comments on commit 67c2e43

Please sign in to comment.