From 2ea959cc5de06896b6ddc6428e77bb91a1a9ab81 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 25 Dec 2019 08:40:41 -0500 Subject: [PATCH] [O] Reduce padding amout --- src/responsive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/responsive.ts b/src/responsive.ts index c881e3f..1a3b5b0 100644 --- a/src/responsive.ts +++ b/src/responsive.ts @@ -50,7 +50,7 @@ export default class Responsive getBlockWidth(currentWidth: number = document.documentElement.clientWidth) { let count = this.getNumberOnScreen(currentWidth); - return (currentWidth - vhToPx(this.margin) * count * 2) / count - 5; + return (currentWidth - vhToPx(this.margin) * count * 2) / count - 1; } }