From 474f9f5e1ae7a84bf948718ad0666fc6bfcb36c6 Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 10 Mar 2021 00:54:32 +0100 Subject: [PATCH] Using padding with box sizing --- components/00_Tools/_spacing.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/00_Tools/_spacing.styl b/components/00_Tools/_spacing.styl index 99be6b3..738bbaf 100644 --- a/components/00_Tools/_spacing.styl +++ b/components/00_Tools/_spacing.styl @@ -1,5 +1,5 @@ calc_height(base-height=100%) - 'calc(%s - (2 * var(--inner-spacing)) - (2 * var(--outer-spacing)))' % base-height + 'calc(%s - (2 * var(--outer-spacing)))' % base-height calc_width(base-width=100%) - 'calc(%s - calc(2 * var(--inner-spacing)) - calc(2 * var(--outer-spacing)))' % base-width \ No newline at end of file + 'calc(%s - calc(2 * var(--outer-spacing)))' % base-width \ No newline at end of file