mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-11 18:45:25 +00:00
Remove add comment button from the mini review panel.
This commit is contained in:
parent
2c2abc3cae
commit
8951e91e31
3 changed files with 5 additions and 11 deletions
|
@ -81,7 +81,6 @@
|
|||
on-start-new="startNewComment();"
|
||||
on-submit="submitNewComment(content);"
|
||||
on-cancel="cancelNewComment();"
|
||||
on-indicator-click="toggleReviewPanel();"
|
||||
layout-to-left="reviewPanel.layoutToLeft"
|
||||
)
|
||||
|
||||
|
@ -322,14 +321,6 @@ script(type='text/ng-template', id='resolvedCommentEntryTemplate')
|
|||
script(type='text/ng-template', id='addCommentEntryTemplate')
|
||||
div
|
||||
.rp-entry-callout.rp-entry-callout-add-comment
|
||||
.rp-entry-indicator(
|
||||
ng-if="!commentState.adding"
|
||||
ng-click="startNewComment(); onIndicatorClick();"
|
||||
tooltip=translate("add_comment")
|
||||
tooltip-placement="{{ layoutToLeft ? 'left' : 'right' }}"
|
||||
tooltip-append-to-body="true"
|
||||
)
|
||||
i.fa.fa-commenting
|
||||
.rp-entry.rp-entry-add-comment(
|
||||
ng-class="[ (state.isAdding ? 'rp-entry-adding-comment' : ''), (entry.focused ? 'rp-entry-focused' : '')]"
|
||||
)
|
||||
|
|
|
@ -7,8 +7,7 @@ define [
|
|||
scope:
|
||||
onStartNew: "&"
|
||||
onSubmit: "&"
|
||||
onCancel: "&"
|
||||
onIndicatorClick: "&"
|
||||
onCancel: "&"
|
||||
layoutToLeft: "="
|
||||
link: (scope, element, attrs) ->
|
||||
scope.state =
|
||||
|
|
|
@ -568,6 +568,10 @@
|
|||
border-color: @rp-yellow;
|
||||
}
|
||||
}
|
||||
|
||||
.rp-state-current-file &-add-comment {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rp-overview-file-header {
|
||||
|
|
Loading…
Add table
Reference in a new issue