Skip to content

Commit

Permalink
Preview workflow without indent. #150
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Dec 6, 2018
1 parent 9936333 commit fa3dfeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
11 changes: 0 additions & 11 deletions src/sos_notebook/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1726,11 +1726,6 @@ define([
visibility: hidden;
}
#panel-wrapper .out_prompt_overlay.prompt {
display: none;
}
#panel-wrapper .anchor-cell {
padding-right: 5pt;
}
Expand Down Expand Up @@ -2051,12 +2046,6 @@ table.task_table {
/* min-width: 0px; */
}
#panel-wrapper #panel .output_prompt,
#panel-wrapper #panel .output_prompt_overplay {
min-width: 0px;
display: none;
}
#panel-wrapper #panel div.output_area {
display: -webkit-box;
Expand Down
3 changes: 1 addition & 2 deletions src/sos_notebook/magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,7 @@ def apply(self, code, silent, store_history, user_expressions, allow_stdin):
if args.workflow:
import random
ta_id = 'preview_wf_{}'.format(random.randint(1, 1000000))
self.sos_kernel.send_response(self.sos_kernel.iopub_socket,
'display_data', {
self.sos_kernel.send_frontend_msg('display_data', {
'data': {
'text/plßain': self.sos_kernel._meta['workflow'],
'text/html': HTML(
Expand Down

0 comments on commit fa3dfeb

Please sign in to comment.