From d46d74faf02ec58d7dcce03a17b04f3e2eaadc79 Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 10 Mar 2021 00:57:50 +0100 Subject: [PATCH] border box for padding --- components/03_Styles/spacing/_spacing.styl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/03_Styles/spacing/_spacing.styl b/components/03_Styles/spacing/_spacing.styl index 249818d..0d8a23e 100644 --- a/components/03_Styles/spacing/_spacing.styl +++ b/components/03_Styles/spacing/_spacing.styl @@ -23,7 +23,8 @@ RV-Spacing__Inner--small() --inner-spacing spacing-small padding var(--inner-spacing) gap var(--inner-spacing) - column-gap var(--inner-spacing) + column-gap var(--inner-spacing) + box-sizing border-box * > { --inner-spacing 0 } @@ -32,7 +33,8 @@ RV-Spacing__Inner--medium() --inner-spacing spacing-medium padding var(--inner-spacing) gap var(--inner-spacing) - column-gap var(--inner-spacing) + column-gap var(--inner-spacing) + box-sizing border-box * > { --inner-spacing 0 } @@ -41,7 +43,8 @@ RV-Spacing__Inner--large() --inner-spacing spacing-large padding var(--inner-spacing) gap var(--inner-spacing) - column-gap var(--inner-spacing) + column-gap var(--inner-spacing) + box-sizing border-box * > { --inner-spacing 0 }