8235670: Javadoc pages not printing correctly in some browsers

Reviewed-by: jjg, prappo
This commit is contained in:
Hannes Wallnöfer 2019-12-11 16:13:59 +01:00
parent a1b0802caf
commit 9b1498c20e

View File

@ -124,19 +124,21 @@ button {
/*
* Styles for navigation bar.
*/
.flexBox {
position:fixed;
display:flex;
flex-direction:column;
height: 100%;
width: 100%;
}
.flexHeader {
flex: 0 0 auto;
}
.flexContent {
flex: 1 1 auto;
overflow-y: auto;
@media screen {
.flexBox {
position:fixed;
display:flex;
flex-direction:column;
height: 100%;
width: 100%;
}
.flexHeader {
flex: 0 0 auto;
}
.flexContent {
flex: 1 1 auto;
overflow-y: auto;
}
}
.topNav {
background-color:#4D7A97;
@ -226,6 +228,14 @@ ul.subNavList li {
left:-9999px;
overflow:hidden;
}
/*
* Hide navigation links and search box in print layout
*/
@media print {
ul.navList, div.subNav {
display:none;
}
}
/*
* Styles for page header and footer.
*/