From 48a24a48c14d778ee485f1cd9b57b5821f850af9 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Fri, 6 Sep 2013 21:00:02 +0200 Subject: [PATCH] Fixing annotation icon issues --- src/shared/annotation.js | 1 - web/images/annotation-check.svg | 3 ++- web/images/annotation-comment.svg | 3 ++- web/images/annotation-help.svg | 3 ++- web/images/annotation-insert.svg | 3 ++- web/images/annotation-key.svg | 3 ++- web/images/annotation-newparagraph.svg | 3 ++- web/images/annotation-note.svg | 3 ++- web/images/annotation-paragraph.svg | 3 ++- 9 files changed, 16 insertions(+), 9 deletions(-) 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">