Skip to content
Snippets Groups Projects
Commit ea0148fc authored by chris's avatar chris Committed by john
Browse files

track changes

parent 785cc5e2
No related branches found
No related tags found
No related merge requests found
...@@ -20,13 +20,9 @@ class TrackChangeComponent extends AnnotationComponent { ...@@ -20,13 +20,9 @@ class TrackChangeComponent extends AnnotationComponent {
.addClass('sc-track-item-reject') .addClass('sc-track-item-reject')
.on('click', this.reject) .on('click', this.reject)
const separator = $$('span')
.addClass('sc-track-item-separator')
const container = $$('span') const container = $$('span')
.addClass('sc-accept-reject-container') .addClass('sc-accept-reject-container')
.append(accept) .append(accept)
.append(separator)
.append(reject) .append(reject)
if (this.shouldHideContainer()) { if (this.shouldHideContainer()) {
......
$blue: #4a90e2; $blue: #4990e2;
$red: #f00; $red: #f00;
$yellow: #f7f70c; $yellow: #f7f70c;
...@@ -32,35 +32,26 @@ $yellow: #f7f70c; ...@@ -32,35 +32,26 @@ $yellow: #f7f70c;
.sc-track-item-accept::after { .sc-track-item-accept::after {
color: $blue; color: $blue;
content: 'accept'; content: 'Accept';
cursor: pointer; cursor: pointer;
display: inline-flex; display: inline-flex;
font-size: 14px; font-size: 14px;
margin-left: -90px; margin-left: -90px;
margin-top: 20px; margin-top: 18px;
position: absolute;
}
.sc-track-item-separator::after {
color: $blue;
content: '/';
cursor: default;
display: inline-flex;
font-size: 14px;
margin-left: -45px;
margin-top: 20px;
position: absolute; position: absolute;
text-decoration: underline;
} }
.sc-track-item-reject::after { .sc-track-item-reject::after {
color: $blue; color: $blue;
content: 'reject'; content: 'Decline';
cursor: pointer; cursor: pointer;
display: inline-flex; display: inline-flex;
font-size: 14px; font-size: 14px;
margin-left: -35px; margin-left: -35px;
margin-top: 20px; margin-top: 18px;
position: absolute; position: absolute;
text-decoration: underline;
} }
.sm-target-track-change-enable { .sm-target-track-change-enable {
......
...@@ -42,7 +42,7 @@ class Comment extends Component { ...@@ -42,7 +42,7 @@ class Comment extends Component {
return $$('div').addClass('single-comment-row') return $$('div').addClass('single-comment-row')
.append( .append(
entry, entry,
resolveIconEl // resolveIconEl
) )
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment