wiki: html anchors require offset
Closed, ResolvedPublic


html anchors point to the start of the section, but the fixed header covers the actual header

so for example, if you use the 'content' link for section 6 or 7, you 'only' see 6.1 and 7.1 because 6/7 is completely covered by the header

Suggested fix:

How can this be solved with our mediawiki theme though?

sebastian created this task.Jan 2 2020, 5:48 PM
sebastian triaged this task as High priority.
sebastian closed this task as Resolved.Jan 23 2020, 10:17 AM

fixed in firefox when page does not need to be reloaded at least.

sebastian reopened this task as Open.Jan 27 2020, 9:20 PM

the fix has lead to headers covering links right above them from being clicked.

Proposal for a fix:

adding css parameters:
z-index: -1000;
position: relative;
to .mw-headline


RexOr added a comment.Jan 27 2020, 9:40 PM


(21:13:14) RexOrCine: Someone please check 2. Technical -
(21:13:44) RexOrCine: ... and see if the link to 'Parts' works, and if not perhaps come up with some idea why.
(21:13:56) RexOrCine: why not*
(21:14:15) RexOrCine: Because it absolutely does my head in across multiple devices.
(21:18:22) se6ast1an: I suspect the "fix" for the anchor offset applied recently has this side effect that headers now "cover" links above them
(21:18:27) se6ast1an: BAndiT1983: can you confirm?
(21:21:12) se6ast1an:
(21:26:47) RexOrCine: I can provide another example. See 1.2.5 -
(21:27:02) RexOrCine: ... and underneath there's 'Full size image' - that also doesn't work.

sebastian closed this task as Resolved.Jan 27 2020, 10:39 PM

fix applied and seems to work ok so far.