From 0f78efdbb52a704468fdc0d291eee1316dd783a3 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 5 Aug 2020 15:16:29 -0700 Subject: [PATCH] styles: Replace invalid user-drag property with -webkit-user-drag. Commit abbd8a7f459500f514cc5511808d77953809d533 (#13112) should have removed the nonexistent user-drag property rather than the Webkit-specific -webkit-user-drag property. Signed-off-by: Anders Kaseorg --- static/styles/zulip.scss | 2 +- stylelint.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss index a12967a5c4..0a5a336a61 100644 --- a/static/styles/zulip.scss +++ b/static/styles/zulip.scss @@ -2430,7 +2430,7 @@ div.topic_edit_spinner .loading_indicator_spinner { } .no-drag { - user-drag: none; + -webkit-user-drag: none; user-select: none; } diff --git a/stylelint.config.js b/stylelint.config.js index 5db04a336b..88a3625e71 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -5,7 +5,7 @@ module.exports = { rules: { // Add some exceptions for recommended rules "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 "declaration-block-no-duplicate-properties": null,