mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
set height: auto on #site for print
avoids truncating printed output
This commit is contained in:
parent
1eddad8a63
commit
87758e0c77
@ -89,6 +89,10 @@ body {
|
||||
display: none;
|
||||
.border-box-sizing();
|
||||
overflow: auto;
|
||||
@media print {
|
||||
// force auto-height on print (overrides manual resizing in live view)
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smaller buttons */
|
||||
|
5
IPython/html/static/style/style.min.css
vendored
5
IPython/html/static/style/style.min.css
vendored
@ -8466,6 +8466,11 @@ body {
|
||||
-webkit-box-sizing: border-box;
|
||||
overflow: auto;
|
||||
}
|
||||
@media print {
|
||||
#site {
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
/* Smaller buttons */
|
||||
.ui-button .ui-button-text {
|
||||
padding: 0.2em 0.8em;
|
||||
|
Loading…
Reference in New Issue
Block a user