From 8452a4779da109249bebc8b1a2c0d86491c75ab1 Mon Sep 17 00:00:00 2001 From: Alex Gaudio Date: Tue, 23 Mar 2021 16:40:19 +0000 Subject: [PATCH] bug fix: print-pdf does not hide button The css had `body.print-pdf` but in my version of revealjs, the actual css was `html.print-pdf`. Changing the menu button to this setting fixed the bug. --- menu.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menu.css b/menu.css index 5a300fd..e140764 100644 --- a/menu.css +++ b/menu.css @@ -339,8 +339,8 @@ /* * Hide menu for pdf printing */ -body.print-pdf .slide-menu-wrapper .slide-menu, -body.print-pdf .reveal .slide-menu-button, -body.print-pdf .slide-menu-wrapper .slide-menu-overlay { +.print-pdf .slide-menu-wrapper .slide-menu, +.print-pdf .reveal .slide-menu-button, +.print-pdf .slide-menu-wrapper .slide-menu-overlay { display: none; }