From bd27482e78b866ab7d6fbefa0c9d40306d9e82fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Martin?= Date: Sun, 19 Jan 2025 19:28:08 +0100 Subject: [PATCH] Hide eruda when printing The button and the console should not be visible when printing. --- src/style/style.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/style/style.scss b/src/style/style.scss index e52c25dbc..d6efb7cd8 100644 --- a/src/style/style.scss +++ b/src/style/style.scss @@ -61,6 +61,12 @@ } } +@media print { + #eruda { + display: none !important; + } +} + .tag-name-color { color: var(--tag-name-color); } @@ -80,3 +86,4 @@ .string-color { color: var(--string-color); } +