Skip to content

Instantly share code, notes, and snippets.

@kevin-keraudren
Last active October 12, 2016 10:40
Show Gist options
  • Save kevin-keraudren/b08daceaa5f4890e56053a706c1edd5a to your computer and use it in GitHub Desktop.
Save kevin-keraudren/b08daceaa5f4890e56053a706c1edd5a to your computer and use it in GitHub Desktop.
pip install RISE --user
jupyter-nbextension install rise --py --user
jupyter nbextension enable rise --user --py

from http://stackoverflow.com/questions/18770504/resize-ipython-notebook-output-window :

%%html
<style>
.input {
    height:auto !important;
    max-height:300px;  /* your desired max-height here */
    overflow-y:scroll;
}
# .input_scroll {
#     box-shadow:none !important;
#     webkit-box-shadow:none !important;
# }
</style>


%%html
<style>
body {
  overflow: auto;
}
.input {
    height:auto !important;
    max-height:300px;  /* your desired max-height here */
    overflow-y:scroll;
}
# .input_scroll {
#     box-shadow:none !important;
#     webkit-box-shadow:none !important;
# }
</style>

jquery/jquery#2215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment