diff --git a/src/responsive.ts b/src/responsive.ts index 58d76a6..834d94b 100644 --- a/src/responsive.ts +++ b/src/responsive.ts @@ -16,7 +16,7 @@ export default class Responsive if (currentWidth < vhToPx(this.margin) * 2 + this.minWidth) return 1; // Loop through all the possible numbers on screen - [1, 2, 3, 4, 5, 6].forEach(i => + [1, 2, 3, 4, 5, 6].reverse().forEach(i => { // Calculate margin width let margins = vhToPx(this.margin) * (i + 1);