From 97aea1c268a90406b6a09c9e54cdbbf5c45fbbd3 Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 31 May 2022 13:12:01 -0400 Subject: [PATCH] Fix icon sizes --- manifest/manifest.json | 1 + public/icons/check-smaller.svg | 38 ++++++++++++++++++++++++++++++++++ public/icons/right-arrow.svg | 14 ++++++------- src/utils/constants.ts | 6 +++--- 4 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 public/icons/check-smaller.svg diff --git a/manifest/manifest.json b/manifest/manifest.json index 18a50afd..43c7ce73 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -34,6 +34,7 @@ "icons/settings.svg", "icons/pencil.svg", "icons/check.svg", + "icons/check-smaller.svg", "icons/upvote.png", "icons/downvote.png", "icons/thumbs_down.svg", diff --git a/public/icons/check-smaller.svg b/public/icons/check-smaller.svg new file mode 100644 index 00000000..cf9533d8 --- /dev/null +++ b/public/icons/check-smaller.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/public/icons/right-arrow.svg b/public/icons/right-arrow.svg index 638cf96e..57459f77 100644 --- a/public/icons/right-arrow.svg +++ b/public/icons/right-arrow.svg @@ -22,16 +22,16 @@ inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="13.125" - inkscape:cx="24" + inkscape:cx="24.07619" inkscape:cy="24" - inkscape:window-width="1366" - inkscape:window-height="731" - inkscape:window-x="0" - inkscape:window-y="0" + inkscape:window-width="1920" + inkscape:window-height="983" + inkscape:window-x="482" + inkscape:window-y="768" inkscape:window-maximized="1" inkscape:current-layer="svg4" /> + style="fill:#ffffff;stroke-width:0.786132" /> diff --git a/src/utils/constants.ts b/src/utils/constants.ts index dbd2e1a2..3530f234 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -58,7 +58,7 @@ export function getGuidelineInfo(category: Category): TextBox[] { }]; case "intro": return [{ - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline1`) }, { icon: "icons/close-smaller.svg", @@ -83,10 +83,10 @@ export function getGuidelineInfo(category: Category): TextBox[] { }]; case "preview": return [{ - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline1`) }, { - icon: "icons/check.svg", + icon: "icons/check-smaller.svg", text: chrome.i18n.getMessage(`category_${category}_guideline2`) }, { icon: "icons/close-smaller.svg",