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:
parent
666ef6dac0
commit
36e6ae5b2f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user