styles: Replace invalid user-drag property with -webkit-user-drag.

Commit abbd8a7f45 (#13112) should have
removed the nonexistent user-drag property rather than the
Webkit-specific -webkit-user-drag property.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-08-05 15:16:29 -07:00 committed by Tim Abbott
parent 12dcaed177
commit 0f78efdbb5
2 changed files with 2 additions and 2 deletions

View File

@ -2430,7 +2430,7 @@ div.topic_edit_spinner .loading_indicator_spinner {
} }
.no-drag { .no-drag {
user-drag: none; -webkit-user-drag: none;
user-select: none; user-select: none;
} }

View File

@ -5,7 +5,7 @@ module.exports = {
rules: { rules: {
// Add some exceptions for recommended rules // Add some exceptions for recommended rules
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}], "at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}],
"property-no-unknown": [true, {ignoreProperties: [/^mso-/, "user-drag"]}], "property-no-unknown": [true, {ignoreProperties: [/^mso-/]}],
// Disable recommended rules we don't comply with yet // Disable recommended rules we don't comply with yet
"declaration-block-no-duplicate-properties": null, "declaration-block-no-duplicate-properties": null,