Skip to content

Commit c2df5e1

Browse files
committed
FIX icon layout and deleting
1 parent ceabbd7 commit c2df5e1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

static/css/comment.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,9 @@ input.error, textarea.error {
207207
/* OTHER */
208208
.hidden {
209209
display: none;
210-
}
210+
}
211+
212+
.comment-actions-wrapper .buttonicon {
213+
display: inline-block;
214+
opacity: .8;
215+
}

static/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ EpComments.prototype.getCommentData = function () {
792792

793793
// Delete a pad comment
794794
EpComments.prototype.deleteComment = function (commentId) {
795-
$('iframe[name="ace_outer"]').contents().find(`#${commentId}`).remove();
795+
$('iframe[name="ace_outer"]').contents().find(`#icon-${commentId}`).remove();
796796
};
797797

798798
const cloneLine = (line) => {

0 commit comments

Comments
 (0)