mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Use margin to position comment marker to avoid Chrome bug
Bug: T317135 Change-Id: I627d92fabaa9d9e477279041d3c40a7c6bfe37c8
This commit is contained in:
parent
93713ffab4
commit
39502b4f9a
|
@ -4,9 +4,10 @@
|
|||
|
||||
span[ data-mw-comment-start ] {
|
||||
// Give comment anchors a negative offset so we don't position
|
||||
// them right at the edge of the page when jumping to them
|
||||
position: relative;
|
||||
top: -1em;
|
||||
// them right at the edge of the page when jumping to them.
|
||||
// Use margin rather than position to avoid Chrome bug (T317135).
|
||||
position: absolute;
|
||||
margin-top: -1em;
|
||||
}
|
||||
|
||||
// stylelint-disable-next-line selector-list-comma-newline-after
|
||||
|
|
Loading…
Reference in a new issue