mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-09 03:31:01 +02:00
Merge pull request #20758 from calixteman/fix_sidebar_height
Fix the page sidebar height
This commit is contained in:
commit
9dfcc62bb9
@ -58,6 +58,7 @@
|
||||
--sidebar-width: 230px;
|
||||
--sidebar-min-width: min-content;
|
||||
--sidebar-max-width: 50vw;
|
||||
--sidebar-block-padding: 8px;
|
||||
|
||||
--text-color: light-dark(#15141a, #fbfbfe);
|
||||
--button-fg: var(--text-color);
|
||||
@ -176,9 +177,9 @@
|
||||
padding-bottom: 16px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
inset-block-start: calc(100% + var(--sidebar-block-padding));
|
||||
height: calc(
|
||||
var(--viewer-container-height) - var(--toolbar-height) -
|
||||
var(--doorhanger-height)
|
||||
var(--viewer-container-height) - 2 * var(--sidebar-block-padding)
|
||||
);
|
||||
position: absolute;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user