mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(col): fix CSS is undefined error on IE11 (#15882)
* fix(col): fix CSS is undefined error on IE11 * Update col.tsx
This commit is contained in:
@ -2,7 +2,7 @@ import { Component, ComponentInterface, Element, Listen, Prop } from '@stencil/c
|
|||||||
|
|
||||||
import { matchBreakpoint } from '../../utils/media';
|
import { matchBreakpoint } from '../../utils/media';
|
||||||
|
|
||||||
const SUPPORTS_VARS = !!(CSS && CSS.supports && CSS.supports('--a: 0'));
|
const SUPPORTS_VARS = !!(window.CSS && window.CSS.supports && window.CSS.supports('--a: 0'));
|
||||||
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
Reference in New Issue
Block a user