mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(grid): working check for CSS custom variables in Safari (#15228)
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user