fix(grid): working check for CSS custom variables in Safari (#15228)

This commit is contained in:
Jorge Díaz
2018-08-29 02:33:14 +02:00
committed by Manu MA
parent 7fc170c3a0
commit baefda32c3

View File

@ -2,7 +2,7 @@ import { Component, Element, Listen, Prop } from '@stencil/core';
import { matchBreakpoint } from '../../utils/media';
const SUPPORTS_VARS = !!(CSS && CSS.supports && CSS.supports('--a', '0'));
const SUPPORTS_VARS = !!(CSS && CSS.supports && CSS.supports('--a: 0'));
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
@Component({