mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +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;
|
display: none;
|
||||||
.border-box-sizing();
|
.border-box-sizing();
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@media print {
|
||||||
|
// force auto-height on print (overrides manual resizing in live view)
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Smaller buttons */
|
/* 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;
|
-webkit-box-sizing: border-box;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
@media print {
|
||||||
|
#site {
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* Smaller buttons */
|
/* Smaller buttons */
|
||||||
.ui-button .ui-button-text {
|
.ui-button .ui-button-text {
|
||||||
padding: 0.2em 0.8em;
|
padding: 0.2em 0.8em;
|
||||||
|
Loading…
Reference in New Issue
Block a user