##// END OF EJS Templates
comments: make add arrow slightly smaller, and not hide the line numbers when hover.
marcink -
r1160:a4d6d4c7 default
parent child Browse files
Show More
@@ -1056,9 +1056,11 b' table.cb {'
1056 1056 }
1057 1057
1058 1058 &> button.cb-comment-box-opener {
1059 padding: 2px 6px 2px 6px;
1060 margin-left: -20px;
1061 margin-top: -2px;
1059
1060 padding: 2px 5px 1px 5px;
1061 margin-left: 0px;
1062 margin-top: -1px;
1063
1062 1064 border-radius: @border-radius;
1063 1065 position: absolute;
1064 1066 display: none;
@@ -821,14 +821,12 b' var CommentsController = function() { /*'
821 821 };
822 822 var submitSuccessCallback = function(json_data) {
823 823 $form.remove();
824 console.log(json_data)
825 824 try {
826 825 var html = json_data.rendered_text;
827 826 var lineno = json_data.line_no;
828 827 var target_id = json_data.target_id;
829 828
830 829 $comments.find('.cb-comment-add-button').before(html);
831 console.log(lineno, target_id, $comments);
832 830
833 831 } catch (e) {
834 832 console.error(e);
General Comments 0
You need to be logged in to leave comments. Login now