diff options
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 1 | ||||
-rw-r--r-- | stylelint.config.js | 15 |
2 files changed, 14 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index a4d7a6192..c24d61f89 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -2941,7 +2941,6 @@ $ui-header-height: 55px; width: 85%; height: 100%; pointer-events: none; - user-drag: none; user-select: none; } diff --git a/stylelint.config.js b/stylelint.config.js index c8c07a05b..cdb10c02e 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -13,7 +13,6 @@ module.exports = { 'no-descending-specificity': null, 'no-duplicate-selectors': null, 'number-max-precision': 8, - 'property-no-unknown': null, 'property-no-vendor-prefix': null, 'selector-class-pattern': null, 'selector-id-pattern': null, @@ -23,4 +22,18 @@ module.exports = { 'scss/dollar-variable-empty-line-before': null, 'scss/no-global-function-names': null, }, + overrides: [ + { + 'files': ['app/javascript/styles/mailer.scss'], + rules: { + 'property-no-unknown': [ + true, + { + ignoreProperties: [ + '/^mso-/', + ] }, + ], + }, + }, + ], }; |