mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Update the left/right CSS calculation for the sidebarContainer
HTML element to enable IE11 compatibility
As gross as this hack is, it nonetheless seem necessary to allow using CSS variables; see also https://github.com/mozilla/pdf.js/pull/11567#issuecomment-582166160
This commit is contained in:
parent
cb61bdee34
commit
102142537f
4 changed files with 62 additions and 2 deletions
|
@ -107,11 +107,11 @@ select {
|
|||
}
|
||||
html[dir='ltr'] #sidebarContainer {
|
||||
transition-property: left;
|
||||
left: calc(-1 * var(--sidebar-width));
|
||||
left: calc(0px - var(--sidebar-width));
|
||||
}
|
||||
html[dir='rtl'] #sidebarContainer {
|
||||
transition-property: right;
|
||||
right: calc(-1 * var(--sidebar-width));
|
||||
right: calc(0px - var(--sidebar-width));
|
||||
}
|
||||
|
||||
.loadingInProgress #sidebarContainer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue