diff --git a/notebook/static/notebook/js/searchandreplace.js b/notebook/static/notebook/js/searchandreplace.js index 12adb88fd..7e6b367fb 100644 --- a/notebook/static/notebook/js/searchandreplace.js +++ b/notebook/static/notebook/js/searchandreplace.js @@ -41,11 +41,11 @@ define(function(require){ } for(var rindex=0; rindex').addClass('replace-preview') + var pre = $('
')
         .append(html[rindex][0])
         .append($('').addClass('match').text(html[rindex][1]));
       if(replace){
-        pre.append($('').addClass('replace').text(html[rindex][2]));
+        pre.append($('').addClass('insert').text(html[rindex][2]));
         pre.addClass('replace');
       }
       pre.append(html[rindex][3]);
@@ -100,7 +100,6 @@ define(function(require){
   var snr = function(env){
     var search  = $("")
       .addClass('form-control')
-      .css('width','86%')
       .attr('placeholder','Search');
     var isRegExpButton = $('