aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/pdf/PDFViewer.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss
index 030251762..f4257a93c 100644
--- a/src/client/views/pdf/PDFViewer.scss
+++ b/src/client/views/pdf/PDFViewer.scss
@@ -30,6 +30,9 @@
opacity: unset;
mix-blend-mode: multiply; // bcz: makes text fuzzy!
transform: scale(var(--devicePixelRatio));
+ .markedContent span {
+ --total-scale-factor: var(--scale-factor);
+ }
}
[data-main-rotation='90'] {
transform: scale(var(--devicePixelRatio)) rotate(90deg) translateY(-100%);