From c87d6974c815b9fd5a3517d02a0603f71609da28 Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Mon, 19 Jun 2017 17:22:40 -0700 Subject: [PATCH] Add css for nested variation of frame --- scss/xy-grid/_classes.scss | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index 0d038110b..a29d2b2fa 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -305,6 +305,10 @@ @include xy-grid-frame; } + .cell .grid-frame { + width: 100%; // Same as include with $nested, but with less css + } + .cell-block { @include xy-cell-block(); } @@ -325,6 +329,10 @@ @include xy-grid-frame; } + .cell .#{$-zf-size}-grid-frame { + width: 100%; // Same as include with $nested, but with less css + } + .#{$-zf-size}-cell-block { @include xy-cell-block(); } @@ -354,8 +362,17 @@ } } + .cell { + .grid-y.grid-frame { + height: 100%; // Same as include with $nested, but with less css + } + @include -zf-each-breakpoint(false) { + .grid-y.#{$-zf-size}-grid-frame { + height: 100%; // Same as include with $nested, but with less css + } + } + } } - } // Final classes -- 2.47.2