Use the assets pipeline to load inert.css (#28701)
This commit is contained in:
14
app/javascript/styles/inert.scss
Normal file
14
app/javascript/styles/inert.scss
Normal file
@@ -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