From 19540d2ef81e2640e511ff5212b545f8225f5eaa Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 26 Nov 2022 08:55:36 +0000 Subject: [PATCH] js: Hide menus and resize handle when printing --- html/jspage.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/jspage.pl b/html/jspage.pl index c09426f..8a63229 100755 --- a/html/jspage.pl +++ b/html/jspage.pl @@ -311,6 +311,11 @@ EOF .apology-title { text-align: center; } + +\@media print { + /* Interactive controls should be hidden when printing. */ + #gamemenu, #resizehandle { display: none; } +}