Skip to content

Commit d32e1d4

Browse files
authored
Merge pull request #28 from jungvonmatt/container-queries-error-hint
Update main.js
2 parents 5415a6e + 2336fb4 commit d32e1d4

File tree

1 file changed

+2
-0
lines changed
  • templates/theme-default/assets/js

1 file changed

+2
-0
lines changed

templates/theme-default/assets/js/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ if (params.environment !== 'production') {
1111
listen();
1212

1313
// Polyfill css container queries
14+
// Parent classNames starting with `container-` cause errors.
15+
// See https://github.com/jungvonmatt/wekit/issues/26
1416
const supportsContainerQueries = 'container' in document.documentElement.style;
1517
if (supportsContainerQueries) {
1618
console.log('CSS Container Queries: Native support');

0 commit comments

Comments
 (0)