Update CSS
Also hide advanced options pane when attempting to print from main page
This commit is contained in:
parent
f6cc873d05
commit
ad35b63d8f
@ -233,7 +233,7 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="printWarning" style="display: none;">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
||||
<div id="printWarning">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
||||
|
||||
<script>
|
||||
var pyRCV2version = 'GITVERSION';
|
||||
|
@ -88,15 +88,22 @@ tr.info td {
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
|
||||
/* Print stylesheet */
|
||||
|
||||
#printWarning {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body.interactive > * {
|
||||
display: none;
|
||||
}
|
||||
#printPane {
|
||||
#divAdvancedOptions, #printPane {
|
||||
/* Override inline style */
|
||||
display: none !important;
|
||||
}
|
||||
#printWarning {
|
||||
display: block !important;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user