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:
Bartosz Dziewoński 2020-02-08 22:57:06 +01:00
parent 76ff5d1114
commit a491e3aaac
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@
background: skyblue;
}
.detected-comment-relationship {
.detected-comment-ruler {
position: absolute;
box-sizing: border-box;
border-left: 3px solid red;

View file

@ -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 = {