[DE PE SSE] Fix bug 51488

This commit is contained in:
JuliaSvinareva 2021-09-02 15:44:11 +03:00
parent 38def0be24
commit 9d2de2698b
3 changed files with 31 additions and 19 deletions

View file

@ -70,16 +70,20 @@
<!-- edit buttons -->
<% if (!editText && !lock && !scope.viewmode) { %>
<% if (!editText && !lock) { %>
<div class="edit-ct">
<% if (!scope.viewmode) { %>
<% if (editable) { %>
<div class="btn-edit img-commonctrl"></div>
<% } %>
<% if (removable) { %>
<div class="btn-delete img-commonctrl"></div>
<% } %>
<% if (editable) { %>
<% } %>
<% if (editable && !scope.viewmode) { %>
<div class="btn-resolve <% if (resolved) print('comment-resolved') %>" data-toggle="tooltip"></div>
<% } else if ((!editable || scope.viewmode) && resolved) { %>
<div class="icon-resolve i-comment-resolved"></div>
<% } %>
</div>
<% } %>

View file

@ -71,16 +71,20 @@
<!-- edit buttons -->
<% if (!editTextInPopover && !lock && !hint) { %>
<% if (!editTextInPopover && !lock) { %>
<div class="edit-ct">
<% if (!hint) { %>
<% if (editable) { %>
<div class="btn-edit img-commonctrl"></div>
<% } %>
<% if (removable) { %>
<div class="btn-delete img-commonctrl"></div>
<% } %>
<% if (editable) { %>
<% } %>
<% if (editable && !hint) { %>
<div class="btn-resolve <% if (resolved) print('comment-resolved') %>" data-toggle="tooltip"></div>
<% } else if ((!editable || hint) && resolved) { %>
<div class="icon-resolve i-comment-resolved"></div>
<% } %>
</div>
<% } %>

View file

@ -277,13 +277,17 @@
cursor: pointer;
}
.btn-edit,.btn-delete, .btn-resolve, .btn-resolve-check, .btn-accept, .btn-reject, .btn-goto {
.btn-edit,.btn-delete, .btn-resolve, .icon-resolve, .btn-resolve-check, .btn-accept, .btn-reject, .btn-goto {
width: 16px;
height: 16px;
margin: 0 0 0 5px;
background-color: transparent;
}
.icon-resolve {
float: left;
}
.btn-edit {
background-position: -2px -232px;
}
@ -350,7 +354,7 @@
}
}
.btn-resolve,.btn-accept {
.btn-resolve, .btn-accept, .icon-resolve {
position: relative;
&:after {
@ -366,7 +370,7 @@
top: 0px;
}
&.comment-resolved {
&.comment-resolved, &.i-comment-resolved {
&:after {
border-color: @icon-success-ie;
border-color: @icon-success;