Commit 17190c2b authored by Mario Botsch's avatar Mario Botsch
Browse files

hide buttons in PDF export

parent 51d7ebb5
...@@ -1039,9 +1039,13 @@ div.q-panel { ...@@ -1039,9 +1039,13 @@ div.q-panel {
background-color: rgba(100, 100, 100, 0.2); background-color: rgba(100, 100, 100, 0.2);
} }
body.print-pdf div.open-button {
display: none;
}
/********************************************* /*********************************************
* MARIO: bibliogrphy * MARIO: bibliography
*********************************************/ *********************************************/
.reveal .references { .reveal .references {
......
...@@ -161,6 +161,10 @@ ...@@ -161,6 +161,10 @@
border: 1px solid #eeeeee; border: 1px solid #eeeeee;
background: var(--whiteboard-background-color); background: var(--whiteboard-background-color);
} }
body.print-pdf #whiteboardButtons {
display: none;
}
/* toggle whiteboard buttons with .whiteboardActive on container */ /* toggle whiteboard buttons with .whiteboardActive on container */
#whiteboardButtons > button { #whiteboardButtons > button {
......
...@@ -1549,9 +1549,6 @@ let RevealWhiteboard = (function () { ...@@ -1549,9 +1549,6 @@ let RevealWhiteboard = (function () {
selectPenColor(penColors[0]); selectPenColor(penColors[0]);
selectPenRadius(2); selectPenRadius(2);
// hide buttons in print mode
if (printMode) buttons.style.display = "none";
// load annotations // load annotations
return new Promise((resolve) => loadAnnotationsFromURL().then(resolve)); return new Promise((resolve) => loadAnnotationsFromURL().then(resolve));
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment