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.
This commit is contained in:
Jonas Jenwald 2022-04-11 10:08:48 +02:00
parent 143ba30bef
commit 0a83538e64

View File

@ -1595,19 +1595,9 @@ dialog :link {
#sidebarContainer { #sidebarContainer {
background-color: var(--sidebar-narrow-bg-color); background-color: var(--sidebar-narrow-bg-color);
} }
#outerContainer.sidebarOpen #viewerContainer { #outerContainer.sidebarOpen #viewerContainer {
inset-inline-start: 0 !important; inset-inline-start: 0 !important;
} }
#outerContainer .hiddenLargeView,
#outerContainer .hiddenMediumView {
display: inherit;
}
#outerContainer .visibleLargeView,
#outerContainer .visibleMediumView {
display: none;
}
} }
@media all and (max-width: 770px) { @media all and (max-width: 770px) {