From 06d6054adee01de7db8731702f738c6f17019647 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Thu, 30 Mar 2023 01:01:00 +0200 Subject: [PATCH] stylelint: Enable selector-pseudo-element-colon-notation Via stylelint --fix Change-Id: Iafee0799add6495119f174d3022af17206167c0e --- .stylelintrc.json | 3 +-- .../templateDataGenerator.placeholder.less | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 7e527e32..59a96b4d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -4,7 +4,6 @@ "stylelint-config-wikimedia/mediawiki" ], "rules": { - "selector-class-pattern": "(tdg|mw|oo-ui|cdx|client|skin)-", - "selector-pseudo-element-colon-notation": null + "selector-class-pattern": "(tdg|mw|oo-ui|cdx|client|skin)-" } } diff --git a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.placeholder.less b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.placeholder.less index 518912c4..40ef8a77 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.placeholder.less +++ b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.placeholder.less @@ -1,4 +1,4 @@ -.client-js .tdg-editscreen-placeholder:after { +.client-js .tdg-editscreen-placeholder::after { content: '\00a0'; display: block; line-height: 1.42857143em; /* Mirroring the button's line-height */