From 2e08a844d7b38d57c82edccce54805d56059a439 Mon Sep 17 00:00:00 2001 From: Pierre Marchal Date: Fri, 28 Jul 2017 18:46:11 +0200 Subject: [PATCH] Add .is-vertically-paddingless and other class helpers (#943) --- sass/base/helpers.sass | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sass/base/helpers.sass b/sass/base/helpers.sass index bd2645a4..c1925ef4 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -145,9 +145,25 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' .is-marginless margin: 0 !important +.is-vertically-marginless + margin-top: 0 !important + margin-bottom: 0 !important + +.is-horizontally-marginless + margin-left: 0 !important + margin-right: 0 !important + .is-paddingless padding: 0 !important +.is-vertically-paddingless + padding-top: 0 !important + padding-bottom: 0 !important + +.is-horizontally-paddingless + padding-left: 0 !important + padding-right: 0 !important + .is-radiusless border-radius: 0 !important