mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-23 10:29:11 +00:00
Rename the lines denoting child comments in debug mode to "rulers"
I got tired of typing "relationship". Change-Id: I318bdd1c049d7ab7fdeb1512a083cf8f4121d598
This commit is contained in:
parent
76ff5d1114
commit
a491e3aaac
|
@ -42,7 +42,7 @@
|
|||
background: skyblue;
|
||||
}
|
||||
|
||||
.detected-comment-relationship {
|
||||
.detected-comment-ruler {
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
border-left: 3px solid red;
|
||||
|
|
|
@ -85,7 +85,7 @@ function markComment( comment ) {
|
|||
}
|
||||
}
|
||||
|
||||
marker2.className = 'detected-comment-relationship';
|
||||
marker2.className = 'detected-comment-ruler';
|
||||
marker2.style.top = ( parentRect.top + parentRect.height + scrollTop ) + 'px';
|
||||
marker2.style.height = ( rect.top - ( parentRect.top + parentRect.height ) + 10 ) + 'px';
|
||||
if ( rtl ) {
|
||||
|
@ -110,7 +110,7 @@ function markThreads( threads ) {
|
|||
}
|
||||
// Reverse order so that box-shadows look right
|
||||
// eslint-disable-next-line no-jquery/no-global-selector
|
||||
$( 'body' ).append( $( '.detected-comment-relationship' ).get().reverse() );
|
||||
$( 'body' ).append( $( '.detected-comment-ruler' ).get().reverse() );
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in a new issue