Skip to content

Commit

Permalink
Adjusting icon to the pixel grid
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLuisGJ committed Feb 6, 2024
1 parent 1cefc00 commit ed152df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3832,7 +3832,7 @@ exports[`EuiIcon props type index is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M13.063 2.5h-10v11h11v1h-12v-13h12v12h-1v-11Zm-7 3h5.999v-1h-6v1Zm-2 0v-1h1v1h-1Zm2 3v-1h6v1h-6Zm-2 0v-1h1v1h-1Zm2 3v-1h6v1h-6Zm-2 0v-1h1v1h-1Z"
d="M13 2H3v11h11v1H2V1h12v12h-1V2ZM6 5h5.999V4H6v1ZM4 5V4h1v1H4Zm2 3V7h6v1H6ZM4 8V7h1v1H4Zm2 3v-1h6v1H6Zm-2 0v-1h1v1H4Z"
/>
</svg>
`;
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/assets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const EuiIconIndex = ({
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path d="M13.063 2.5h-10v11h11v1h-12v-13h12v12h-1v-11Zm-7 3h5.999v-1h-6v1Zm-2 0v-1h1v1h-1Zm2 3v-1h6v1h-6Zm-2 0v-1h1v1h-1Zm2 3v-1h6v1h-6Zm-2 0v-1h1v1h-1Z" />
<path d="M13 2H3v11h11v1H2V1h12v12h-1V2ZM6 5h5.999V4H6v1ZM4 5V4h1v1H4Zm2 3V7h6v1H6ZM4 8V7h1v1H4Zm2 3v-1h6v1H6Zm-2 0v-1h1v1H4Z" />
</svg>
);
export const icon = EuiIconIndex;
4 changes: 2 additions & 2 deletions src/components/icon/svgs/index.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ed152df

Please sign in to comment.