Skip to content

Commit

Permalink
CSS: Avoid line breaks in (empty) prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Sep 24, 2022
1 parent 7c56959 commit 5819ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,11 @@
}
}
/* disable scrollbars on prompts */
/* disable scrollbars and line breaks on prompts */
div.nbinput.container div.prompt pre,
div.nboutput.container div.prompt pre {
overflow: hidden;
white-space: pre;
}
/* input/output area */
Expand Down

0 comments on commit 5819ec0

Please sign in to comment.