Skip to content

Commit

Permalink
Merge branch 'feature/grid'
Browse files Browse the repository at this point in the history
  • Loading branch information
ramono committed Jun 12, 2021
2 parents b703afd + efbdac5 commit 4cc3d21
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 2 deletions.
12 changes: 12 additions & 0 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scss/grid/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@include mixins.respond(md-up) {
.grid {
&.grid-reverse {
@for $i from 1 through grid.$md-max-spans {
@for $i from 1 through grid.$lg-max-spans {
& > *:nth-child(#{$i}) {
order: ((grid.$md-max-spans + 1) - $i);
}
Expand Down
4 changes: 4 additions & 0 deletions scss/grid/_lg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,9 @@
&.lg-sidebar-left {
grid-template-columns: 1fr 3fr;
}

.span {
max-width: grid.$grid-width;
}
}
}
4 changes: 4 additions & 0 deletions scss/grid/_md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@
&.md-sidebar-left {
grid-template-columns: 1fr 3fr;
}

.span {
max-width: grid.$md-grid-width;
}
}
}
4 changes: 4 additions & 0 deletions scss/grid/_sm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
grid-template-columns: repeat(#{$i}, 1fr);
}
}

.span {
max-width: grid.$sm-grid-width;
}
}
}
4 changes: 4 additions & 0 deletions scss/grid/_xl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@
&.grid-wide {
width: grid.$xl-grid-wide-width;
}

.span {
max-width: grid.$xl-grid-width;
}
}
}

0 comments on commit 4cc3d21

Please sign in to comment.