app/assets/stylesheets/functions/_private.scss in neat-1.0.2 vs app/assets/stylesheets/functions/_private.scss in neat-1.1.0
- old
+ new
@@ -16,9 +16,18 @@
}
@return false;
}
+// Contains display value
+@function contains-display-value($query) {
+ @if belongs-to(table, $query) or belongs-to(block, $query) or belongs-to(inline-block, $query) or belongs-to(inline, $query) {
+ @return true;
+ }
+
+ @return false;
+}
+
// Parses the first argument of span-columns()
@function container-span($span: $span) {
@if length($span) == 3 {
$container-columns: nth($span, 3);
@return $container-columns;