diff --git a/src/shared/annotation.js b/src/shared/annotation.js index 1440d8bb3..d16898f91 100644 --- a/src/shared/annotation.js +++ b/src/shared/annotation.js @@ -543,7 +543,6 @@ var TextAnnotation = (function TextAnnotationClosure() { container.className = 'annotText'; var image = document.createElement('img'); - image.style.width = container.style.width; image.style.height = container.style.height; var iconName = item.name; image.src = PDFJS.imageResourcesPath + 'annotation-' + diff --git a/web/images/annotation-check.svg b/web/images/annotation-check.svg index f28f0e89a..71cd16df5 100644 --- a/web/images/annotation-check.svg +++ b/web/images/annotation-check.svg @@ -2,7 +2,8 @@ + height="40" + viewBox="0 0 40 40"> + width="40" + viewBox="0 0 40 40"> + height="40" + viewBox="0 0 40 40"> diff --git a/web/images/annotation-insert.svg b/web/images/annotation-insert.svg index 60fbf954c..519ef6826 100644 --- a/web/images/annotation-insert.svg +++ b/web/images/annotation-insert.svg @@ -2,7 +2,8 @@ + height="64" + viewBox="0 0 64 64"> diff --git a/web/images/annotation-key.svg b/web/images/annotation-key.svg index c0bbb09c5..8d09d5378 100644 --- a/web/images/annotation-key.svg +++ b/web/images/annotation-key.svg @@ -2,7 +2,8 @@ + height="64" + viewBox="0 0 64 64"> + height="64" + viewBox="0 0 64 64"> + height="40" + viewBox="0 0 40 40"> + height="40" + viewBox="0 0 40 40">