Skip to content

Commit

Permalink
Merge pull request #36 from supple-kit/fix/mesh
Browse files Browse the repository at this point in the history
Fix mesh--flow
  • Loading branch information
portfolioris authored Feb 2, 2023
2 parents c377c30 + 2b598be commit af1df82
Show file tree
Hide file tree
Showing 3 changed files with 932 additions and 2,235 deletions.
7 changes: 6 additions & 1 deletion objects/mesh/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,15 @@ $selector: '> *';
* Modifier: flow
* Fluid width columns that break into more or less columns as space is available, with no media queries
*/
// stylelint-disable scss/no-global-function-names
.o-mesh--flow {
--min-inline-size: #{rem.convert(variables.$flow-min-inline-size)};
grid-template-columns: repeat(auto-fill, minmax(var(--min-inline-size), 1fr));
grid-template-columns: repeat(
var(--grid-placement, auto-fill),
minmax(min(var(--min-inline-size), 100%), 1fr)
);
}
// stylelint-enable scss/no-global-function-names

/**
* Modifier: dense
Expand Down
Loading

0 comments on commit af1df82

Please sign in to comment.