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

Merge pull request #14182 from calixteman/richtext

Support rich content in markup annotation
This commit is contained in:
Jonas Jenwald 2021-10-31 14:41:56 +01:00 committed by GitHub
commit 8c70258065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 188 additions and 39 deletions

View file

@ -192,17 +192,21 @@
display: inline-block;
}
.annotationLayer .popup span {
.annotationLayer .popupDate {
display: inline-block;
margin-left: 5px;
}
.annotationLayer .popup p {
.annotationLayer .popupContent {
border-top: 1px solid rgba(51, 51, 51, 1);
margin-top: 2px;
padding-top: 2px;
}
.annotationLayer .richText > * {
white-space: pre-wrap;
}
.annotationLayer .highlightAnnotation,
.annotationLayer .underlineAnnotation,
.annotationLayer .squigglyAnnotation,