From d7fd8d3883b7e09dccb37967169bd286bef357a6 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 16 Apr 2022 16:03:17 +0200 Subject: [PATCH] Remove some outdated CSS rules related to printing Given that no HTML element has used the `loadingBox`-id for many years, we obviously don't need to try and hide a non-existent element during printing. Furthermore, we also shouldn't need to change the `overflow`-value for the `viewerContainer`-element during printing. Originally, many years ago now, we printed "directly" using the viewer and then this apparently made sense. --- web/viewer.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index f667f5b98..06552bba9 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1474,15 +1474,11 @@ dialog :link { #sidebarContainer, #secondaryToolbar, .toolbar, - #loadingBox, #errorWrapper, .textLayer, .canvasWrapper { display: none; } - #viewerContainer { - overflow: visible; - } #mainContainer, #viewerContainer,