mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 19:26:46 +00:00
Fix cursor on #firstHeading
Bug: T214790 Change-Id: I68e3837cf71317a18a885d1dc16ad10523c464a3
This commit is contained in:
parent
22e0187d09
commit
03240609d5
|
@ -55,14 +55,18 @@
|
|||
}
|
||||
|
||||
.ve-activated #firstHeading {
|
||||
/* Override the styles above to allow the heading to be selected, because people enjoy
|
||||
copy-pasting it. Overriding pointer-events is surprisingly not required, and not desirable,
|
||||
because of section 0 edit links and other stuff inserted inside this element by gadgets,
|
||||
which should remain inactive. */
|
||||
/* Override the styles above to allow the heading to be selected, for copy-pasting */
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
pointer-events: auto;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.ve-activated #firstHeading a {
|
||||
/* Re-disable any gadget-added links inside the heading, e.g. section 0 edit links */
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.ve-activated #catlinks {
|
||||
|
|
Loading…
Reference in a new issue