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

Introduce inset usage in the CSS files

The `inset` property is a nice shorthand that can be used to avoid having to specify the positions individually; please see
 - https://developer.mozilla.org/en-US/docs/Web/CSS/inset
 - https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline
This commit is contained in:
Jonas Jenwald 2023-03-19 14:30:42 +01:00
parent 33f5d94f23
commit 553c2e05cd
4 changed files with 9 additions and 34 deletions

View file

@ -17,10 +17,7 @@
.textLayer {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
inset: 0;
line-height: 1;
opacity: 1;
}