From: golopot Date: Mon, 18 Dec 2017 07:01:30 +0000 (+0800) Subject: Fix heading selecting over-select X-Git-Tag: 1.31.0-rc.0~1175^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=2bf083a0cbb97add60d5a3cf421f022a192f2127;p=lhc%2Fweb%2Fwiklou.git Fix heading selecting over-select In Chrome, multiple clicking selecting a heading cause a bug that the first character in the next paragrpah is also selected. Change-Id: Ib52662c39720dcd36ea0b60c9884530895dd9e6a --- diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 9f48204bb6..19b51eb21b 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -760,11 +760,6 @@ table.floatleft { vertical-align: baseline; /* Reset line-height; headings tend to have it set to larger values */ line-height: 1em; - /* As .mw-editsection is a (inline element), it is treated as part */ - /* of the heading content when selecting text by multiple clicks and thus */ - /* selected together with heading content, despite the user-select: none; */ - /* rule set above. This enforces non-selection without changing the look. */ - display: inline-block; } /* Correct directionality when page dir is different from site/user dir */