1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #15064 from calixteman/rescale_followup

Avoid having overflowing sections (#15036 follow-up)
This commit is contained in:
Jonas Jenwald 2022-06-20 09:33:13 +02:00 committed by GitHub
commit 8d154d7f6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -41,7 +41,6 @@
position: absolute;
top: 0;
left: 0;
font-size: calc(100px * var(--scale-factor));
pointer-events: none;
transform-origin: 0 0;
}
@ -90,7 +89,7 @@
background-image: var(--annotation-unfocused-field-background);
border: 1px solid transparent;
box-sizing: border-box;
font: 9% sans-serif;
font: calc(9px * var(--scale-factor)) sans-serif;
height: 100%;
margin: 0;
vertical-align: top;