Correctly align annotation content in horizontal/spread scrolling modes

Not only was long text in popups no longer wrapped correctly, the
alignment was also center instead of left (or right, depending on the
locale used) for both text in popups and the other parts within the
annotation's section, such as the icon.
This commit is contained in:
Tim van der Meij 2021-01-10 16:41:34 +01:00
parent 666ef6dac0
commit 36e6ae5b2f
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -15,6 +15,7 @@
.annotationLayer section {
position: absolute;
text-align: initial;
}
.annotationLayer .linkAnnotation > a,
@ -165,6 +166,7 @@
cursor: pointer;
font: message-box;
font-size: 9px;
white-space: normal;
word-wrap: break-word;
}