From: Laury GvR Date: Mon, 9 Jul 2018 21:03:07 +0000 (-0400) Subject: Add centered class without specifying col #, goes full width. X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=efb374ff00ef46a991d94f3bdeb0ff69213275c6;p=prog%2Fglm-grid.git Add centered class without specifying col #, goes full width. --- diff --git a/scss/_grid.scss b/scss/_grid.scss index e4adb42..66930ef 100644 --- a/scss/_grid.scss +++ b/scss/_grid.scss @@ -93,6 +93,10 @@ $sizes-list: ( max-width: $i * (100 / 12) * 1%; } } + .#{$prefix}-#{$size}-centered { + justify-self: center; + grid-column: span 12 !important; + } } }