Use the assets pipeline to load inert.css (#28701)
This commit is contained in:
1 parent
a90696011e
commit
c6684aa1e3
3 files changed
+9
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
/* Placeholder file to have `inert.scss` compiled by Webpack
|
||||
This is used by the `wicg-inert` polyfill */
|
||||
|
||||
import '../styles/inert.scss';
|
||||
@@ -0,0 +1,14 @@
|
||||
/* This is needed for the wicg-inert polyfill */
|
||||
|
||||
[inert] {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
[inert],
|
||||
[inert] * {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
Reference in new issue
Block a user