diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b2711eadb..dc7f9ab7d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - Add exit code to compile-scss script on failure ([#1024](https://github.com/opensearch-project/oui/pull/1024)) - Correct file path for import of Query component ([#1069](https://github.com/opensearch-project/oui/pull/1069)) - Fix "Guidelines" documentation links rendering blank pages ([#1111](https://github.com/opensearch-project/oui/pull/1111)) +- Fix `Polygon` icon sizing issue ([#1139](https://github.com/opensearch-project/oui/pull/1139)) ### 🚞 Infrastructure diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 8ae3b0f871..a2cc110eda 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -7241,15 +7241,14 @@ exports[`OuiIcon props type polygon is rendered 1`] = ` `; diff --git a/src/components/icon/assets/polygon.js b/src/components/icon/assets/polygon.js index 09e1b80f82..2aa6ece6b1 100644 --- a/src/components/icon/assets/polygon.js +++ b/src/components/icon/assets/polygon.js @@ -13,13 +13,12 @@ import * as React from 'react'; const OuiIconPolygon = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); export const icon = OuiIconPolygon; diff --git a/src/components/icon/assets/polygon.svg b/src/components/icon/assets/polygon.svg index a475ba4b6f..109bacb13d 100644 --- a/src/components/icon/assets/polygon.svg +++ b/src/components/icon/assets/polygon.svg @@ -1,9 +1,8 @@ - - - + +