Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
Update packages/svelte-materialify/src/components/FluidGrid/FluidGrid…
Browse files Browse the repository at this point in the history
….svelte
  • Loading branch information
betaboon authored Feb 2, 2021
1 parent e10894b commit 97f53c3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@
if (value === true) {
return `${name}-auto`;
}
function breakpointClass(name, value) {
if (Number.isInteger(value)) {
return `${name}-${value}`;
}
if (value) {
return `${name}-auto`;
}
return null;
}
return `${name}-${value}`;
}
return null;
}
Expand Down

0 comments on commit 97f53c3

Please sign in to comment.