Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add el & update css in output_area to match run button in input prompt from #3535 #3687

Merged
merged 1 commit into from
Jun 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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