mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +00:00
Merge "Use margin to position comment marker to avoid Chrome bug"
This commit is contained in:
commit
b594a99a12
|
@ -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