From 0a83538e6415437898c3cdd704f37a485d61bc84 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 11 Apr 2022 10:08:48 +0200 Subject: [PATCH] Remove unnecessary `@media` CSS rules (PR 8993 follow-up) With the changes in PR 8993, a number of the `@media`-related CSS rules became unnecessary. However, it appears that some of these rule were *accidentally* left behind despite being unused now. Note that previously, when opening the sidebar shifted the position of the main toolbar, we had to take both the sidebar opened *and* closed cases into account in these `@media` rules. --- web/viewer.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 97d81cf3d..64d375d93 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1595,19 +1595,9 @@ dialog :link { #sidebarContainer { background-color: var(--sidebar-narrow-bg-color); } - #outerContainer.sidebarOpen #viewerContainer { inset-inline-start: 0 !important; } - - #outerContainer .hiddenLargeView, - #outerContainer .hiddenMediumView { - display: inherit; - } - #outerContainer .visibleLargeView, - #outerContainer .visibleMediumView { - display: none; - } } @media all and (max-width: 770px) {