Skip to content

Commit

Permalink
Merge pull request #3687 from mpacer/consistent_prompt
Browse files Browse the repository at this point in the history
add el & update css in output_area to match run button in input prompt from #3535
  • Loading branch information
rgbkrk committed Jun 14, 2018
2 parents 1918856 + dd282f6 commit c852813
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions notebook/static/notebook/js/outputarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ define([
OutputArea.prototype.create_output_area = function () {
var oa = $("<div/>").addClass("output_area");
if (this.prompt_area) {
oa.append($('<div/>').addClass('run_this_cell'));
oa.append($('<div/>').addClass('prompt'));
}
return oa;
Expand Down
3 changes: 1 addition & 2 deletions notebook/static/notebook/less/codecell.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ div.code_cell div.input_prompt {
min-width: 11ex;
}

div.code_cell:hover .run_this_cell {
div.code_cell:hover div.input .run_this_cell {
visibility: visible;
}

Expand Down Expand Up @@ -70,4 +70,3 @@ div.input_area > div.highlight > pre {
padding: 0px;
background-color: transparent;
}

1 change: 1 addition & 0 deletions notebook/static/notebook/less/outputarea.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ div.out_prompt_overlay:hover {

div.output_prompt {
color: @output_prompt_color;
min-width: 11ex;
}

/* This class is the outer container of all output sections. */
Expand Down

0 comments on commit c852813

Please sign in to comment.