mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Prevent .visibleMediumView
from overriding already hidden elements (issue 18704, PR 18596 follow-up)
*Please note:* As a general rule we probably don't need to fix things affecting *custom* implementations of the default viewer, but in this case a "targeted" fix seem possible that shouldn't (famous last words) break anything else. Ensure that the `.visibleMediumView` class, which is used when the viewer becomes narrow, cannot override the `display`-value for DOM elements that are being *explicitly* hidden either through the associated attribute or class.
This commit is contained in:
parent
5d0c82cf05
commit
b681ea6fd9
1 changed files with 1 additions and 1 deletions
|
@ -1581,7 +1581,7 @@ dialog :link {
|
|||
#outerContainer .hiddenMediumView {
|
||||
display: none !important;
|
||||
}
|
||||
#outerContainer .visibleMediumView {
|
||||
#outerContainer .visibleMediumView:not(.hidden, [hidden]) {
|
||||
display: inherit !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue