Use the assets pipeline to load inert.css
(#28701)
This commit is contained in:
parent
a90696011e
commit
c6684aa1e3
3 changed files with 9 additions and 1 deletions
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue